public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Matlab under gentoo
@ 2005-07-29 17:51 Yuan MEI
  2005-07-29 18:01 ` kashani
  2005-07-29 20:51 ` Christoph Gysin
  0 siblings, 2 replies; 8+ messages in thread
From: Yuan MEI @ 2005-07-29 17:51 UTC (permalink / raw
  To: gentoo-user

Version 7.0.4.352 (R14) Service Pack 2,
when using mex, I got this error:

/usr/local/Matlab7/bin/glnx86/libmaple.so: symbol errno, 
version GLIBC_2.0 not defined in file libc.so.6 with link time reference.

seems a traditional problem with GLIBC_2.0

however, I cannot execute matlab with 'LD_ASSUME_KERNEL=2.4.1 matlab',
which causes:

/bin/sh: error while loading shared libraries: libdl.so.2: 
cannot open shared object file: No such file or directory

I ever succeeded in this way under Redhat9.0 with matlab6.5,
but how to handle it under the up-to-date gentoo?

And I noticed many commercial programs such like Cadence PSD, which
have this problem no matter how 'new' their products are.  Why don't those
companies solve this problem in newly released products?
-- 
Yuan MEI

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Matlab under gentoo
  2005-07-29 17:51 [gentoo-user] Matlab under gentoo Yuan MEI
@ 2005-07-29 18:01 ` kashani
  2005-07-29 18:14   ` Yuan MEI
  2005-07-29 20:51 ` Christoph Gysin
  1 sibling, 1 reply; 8+ messages in thread
From: kashani @ 2005-07-29 18:01 UTC (permalink / raw
  To: gentoo-user

Yuan MEI wrote:
> Version 7.0.4.352 (R14) Service Pack 2,
> when using mex, I got this error:
> 
> /usr/local/Matlab7/bin/glnx86/libmaple.so: symbol errno, 
> version GLIBC_2.0 not defined in file libc.so.6 with link time reference.
> 
> seems a traditional problem with GLIBC_2.0
> 
> however, I cannot execute matlab with 'LD_ASSUME_KERNEL=2.4.1 matlab',
> which causes:
> 
> /bin/sh: error while loading shared libraries: libdl.so.2: 
> cannot open shared object file: No such file or directory
> 
> I ever succeeded in this way under Redhat9.0 with matlab6.5,
> but how to handle it under the up-to-date gentoo?
> 
> And I noticed many commercial programs such like Cadence PSD, which
> have this problem no matter how 'new' their products are.  Why don't those
> companies solve this problem in newly released products?

You might want to emerge sys-libs/lib-compat That'll usually solve the 
problem.

kashani
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Matlab under gentoo
  2005-07-29 18:01 ` kashani
@ 2005-07-29 18:14   ` Yuan MEI
  0 siblings, 0 replies; 8+ messages in thread
From: Yuan MEI @ 2005-07-29 18:14 UTC (permalink / raw
  To: gentoo-user

kashani <kashani-list@badapple.net> writes:

> You might want to emerge sys-libs/lib-compat That'll usually solve the
> problem.

I have this installed

[ebuild   R   ] sys-libs/lib-compat-1.4  +sdl 0 kB

[ Checking sys-libs/lib-compat-1.4 ]
 * 20 out of 20 files good
-- 
Yuan MEI

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Matlab under gentoo
  2005-07-29 17:51 [gentoo-user] Matlab under gentoo Yuan MEI
  2005-07-29 18:01 ` kashani
@ 2005-07-29 20:51 ` Christoph Gysin
  2005-07-30  1:38   ` Yuan MEI
  1 sibling, 1 reply; 8+ messages in thread
From: Christoph Gysin @ 2005-07-29 20:51 UTC (permalink / raw
  To: gentoo-user

Yuan MEI wrote:
> however, I cannot execute matlab with 'LD_ASSUME_KERNEL=2.4.1 matlab',
> which causes:
> 
> /bin/sh: error while loading shared libraries: libdl.so.2: 
> cannot open shared object file: No such file or directory

Does libdl.so.2 exist on your system?

I'm running ~x86:

$ equery b /lib/libdl.so.2
[ Searching for file(s) /lib/libdl.so.2 in *... ]
sys-libs/glibc-2.3.5-r1 (/lib/libdl.so.2 -> libdl-2.3.5.so)

Christoph
-- 
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org@fr33z3
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Matlab under gentoo
  2005-07-29 20:51 ` Christoph Gysin
@ 2005-07-30  1:38   ` Yuan MEI
  2005-07-30 11:06     ` Yuan MEI
  0 siblings, 1 reply; 8+ messages in thread
From: Yuan MEI @ 2005-07-30  1:38 UTC (permalink / raw
  To: gentoo-user

Christoph Gysin <cgysin@gmx.ch> writes:

> Does libdl.so.2 exist on your system?
>
> I'm running ~x86:
>
> $ equery b /lib/libdl.so.2
> [ Searching for file(s) /lib/libdl.so.2 in *... ]
> sys-libs/glibc-2.3.5-r1 (/lib/libdl.so.2 -> libdl-2.3.5.so)

sure, libdl.so.2 is on my system.  And I think the '-r1' version
doesn't matter.

[ Searching for file(s) /lib/libdl.so.2 in *... ]
sys-libs/glibc-2.3.5 (/lib/libdl.so.2 -> libdl-2.3.5.so)

-- 
Yuan MEI

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Matlab under gentoo
  2005-07-30  1:38   ` Yuan MEI
@ 2005-07-30 11:06     ` Yuan MEI
  2005-07-30 12:10       ` Peter Karlsson
  0 siblings, 1 reply; 8+ messages in thread
From: Yuan MEI @ 2005-07-30 11:06 UTC (permalink / raw
  To: gentoo-user

Hi,

    Anybody know how to solve it?  I know under suse this could be
done by LD_ASSUME_KERNEL=2.4.1 but I don't want to leave gentoo.
-- 
Yuan MEI

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Matlab under gentoo
  2005-07-30 11:06     ` Yuan MEI
@ 2005-07-30 12:10       ` Peter Karlsson
  2005-08-01 14:34         ` Jorge Boscan
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Karlsson @ 2005-07-30 12:10 UTC (permalink / raw
  To: gentoo-user

On Sat, 30 Jul 2005, Yuan MEI wrote:

> Hi,
>
>    Anybody know how to solve it?  I know under suse this could be
> done by LD_ASSUME_KERNEL=2.4.1 but I don't want to leave gentoo.

Have you tried it?

You need to have a linuxthreads-compatible glibc... (i.e. not a NPTL-only 
version)

See:
http://www.mathworks.com/support/solutions/data/1-1ATCE.html?solution=1-1ATCE

Best regards

Peter K
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Matlab under gentoo
  2005-07-30 12:10       ` Peter Karlsson
@ 2005-08-01 14:34         ` Jorge Boscan
  0 siblings, 0 replies; 8+ messages in thread
From: Jorge Boscan @ 2005-08-01 14:34 UTC (permalink / raw
  To: gentoo-user

well i dont have 

setenv LD_ASSUME_KERNEL 2.4.1


or


setenv LD_ASSUME_KERNEL 2.2.5

and my matlab R14 works fine so far, matlab 6.5 doesnt run at all

2005/7/30, Peter Karlsson <petekarl@student.chalmers.se>:
> On Sat, 30 Jul 2005, Yuan MEI wrote:
> 
> > Hi,
> >
> >    Anybody know how to solve it?  I know under suse this could be
> > done by LD_ASSUME_KERNEL=2.4.1 but I don't want to leave gentoo.
> 
> Have you tried it?
> 
> You need to have a linuxthreads-compatible glibc... (i.e. not a NPTL-only
> version)
> 
> See:
> http://www.mathworks.com/support/solutions/data/1-1ATCE.html?solution=1-1ATCE
> 
> Best regards
> 
> Peter K
> --
> gentoo-user@gentoo.org mailing list
> 
> 


-- 
[Jorge J. Boscán Etura]
quando omni flunkus moritati
Universidad Fermín Toro <http://www.uft.edu.ve>
Linux 2.6.11 i686 running fc2, lu #137000
cell:584185150239 tel:582517100171

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-08-01 14:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-29 17:51 [gentoo-user] Matlab under gentoo Yuan MEI
2005-07-29 18:01 ` kashani
2005-07-29 18:14   ` Yuan MEI
2005-07-29 20:51 ` Christoph Gysin
2005-07-30  1:38   ` Yuan MEI
2005-07-30 11:06     ` Yuan MEI
2005-07-30 12:10       ` Peter Karlsson
2005-08-01 14:34         ` Jorge Boscan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox