Re: dyld: Library not loaded, found but can't map : /usr/X11R6/lib/libX11.6.dylib
Re: dyld: Library not loaded, found but can't map : /usr/X11R6/lib/libX11.6.dylib
- Subject: Re: dyld: Library not loaded, found but can't map : /usr/X11R6/lib/libX11.6.dylib
- From: Peter Collinson <email@hidden>
- Date: Fri, 2 Mar 2007 09:20:03 +0000
Hmm it's moved out of my area of non expertise.. and guesswork..
Sorry.
Just so you know:
On my Intel Mac:
$ file /usr/X11R6/lib/libX11.6.dylib
/usr/X11R6/lib/libX11.6.dylib: symbolic link to `libX11.6.2.dylib'
$ file /usr/X11R6/lib/libX11.6.2.dylib
/usr/X11R6/lib/libX11.6.2.dylib: Mach-O universal binary with 2
architectures
/usr/X11R6/lib/libX11.6.2.dylib (for architecture ppc): Mach-O
dynamically linked shared library ppc
/usr/X11R6/lib/libX11.6.2.dylib (for architecture i386): Mach-
O dynamically linked shared library i386
Had I done this I wouldn't have sent you the mail before!
It might be worth checking that the symlink to libX11.6.dylib is in
place.
And perhaps check the permissions?
On 2 Mar 2007, at 08:51, Kustaa Nyholm wrote:
Hi Peter,
Thanks for the tip. I added -static to the gcc command line in the
make
file but this resulted in link phase in "cant locate file for:
-lcrt0.o".
More over I believe the make file has been used succesfully before by
someone else than me so I would presume
it is in general ok, and that the library is dynamically loadable (it
is after all a dylib).
br Kusti
Kustaa Nyholm
Research Manager, Software
Research and Technology Division
PLANMECA OY
Asentajankatu 6
00880 HELSINKI
FINLAND
Please note our new telephone and fax numbers!
Tel: +358 20 7795 572 (direct)
Fax: +358 20 7795 676
GSM: +358 40 580 5193
e-mail: email@hidden
This e-mail may contain confidential or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in
this
e-mail is strictly forbidden. We will not be liable for direct,
indirect, special or consequential damages arising from alteration of
the contents of this message by a third party or as a result of any
virus being passed for viruses.
Peter Collinson <email@hidden> 2.3.2007 10:23:19 >>>
I suspect that the installed library is not dynamically loadable. If
there is a static loader option in your makefile than this might work.
On 2 Mar 2007, at 07:40, Kustaa Nyholm wrote:
Hi List,
while fairly experienced, I'm rather new to X11 on Mac OS.
I managed to compile OpenCASCADE for Mac OS 10.4.8, but when I try
to
run
the DRAWEXE program I get:
dyld: Library not loaded: /usr/X11R6/lib/libX11.6.dylib
Referenced from:
/Users/nyholku/OpenCASCADE6.1.0/ros/Darwin/bin/./DRAWEXE
Reason: no suitable image found. Did find:
/usr/X11R6/lib/libX11.6.dylib: can't map
Trace/BPT trap
So I guess something is wrong with the X11 installation or how my
compile links to that.
But I do not know how to debug this.
Any pointers? I've searched hi and lo but come up with nothing
usefull...
br Kusti
Kustaa Nyholm
Research Manager, Software
Research and Technology Division
PLANMECA OY
Asentajankatu 6
00880 HELSINKI
FINLAND
Please note our new telephone and fax numbers!
Tel: +358 20 7795 572 (direct)
Fax: +358 20 7795 676
GSM: +358 40 580 5193
e-mail: email@hidden
This e-mail may contain confidential or privileged information. If
you
are not the intended recipient (or have received this e-mail in
error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in
this
e-mail is strictly forbidden. We will not be liable for direct,
indirect, special or consequential damages arising from alteration
of
the contents of this message by a third party or as a result of any
virus being passed for viruses.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/
mailman/options/x11-users/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40planmeca.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden