Re: Probelms linking shared library
Re: Probelms linking shared library
- Subject: Re: Probelms linking shared library
- From: "Peter O'Gorman" <email@hidden>
- Date: Fri, 08 Jul 2005 22:39:19 +0900
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Asif Jan wrote:
|
| Hi,
|
| I want to link my code against a shared library and the library in in my
| DYLD_LIBRARY_PATH.
|
| I get following error;
|
| ld: libNeuron.dylib is input for the dynamic link editor, is not
| relocatable by the static link editor again
I think that you'll find that libNeuron.dylib is not a dynamic shared
library, but a bundle. try file -L libNeuron.dylib to confirm, then go
relink libNeuron as a dynamiclib, or dlopen() it.
Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
iQCVAwUBQs6CB7iDAg3OZTLPAQJ61QP5AXAp9n567dUy3Xp2yMU+LDUXhQgyesT4
sXLc0QvL1ZgIZtFMEufGu2BK/dtGhcgJovK5Nc6PLZILNLm4KDxRfqQv9FJaYKsD
y4zrrerOgUo4Z5rxxNki48t5qOOYI1y6/xCR6me2KuUfGwlfMrCe3mwWU5gGoOBV
ulW0qro2T64=
=LgVC
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden