Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Building Shared Libraries using dlcompat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Shared Libraries using dlcompat



On Wednesday, February 19, 2003, at 01:38  AM, Eric T.Meek wrote:

Hello,

I am just about finished porting one of our software packages to OS
10.2 but ran into a slight problem, -ldl.  At first I didn't think
anything of it because I just needed to add the appropriate paths to my
configure.in file -L/sw/lib -I/sw/include.

These paths do not belong in configure.in, the user might well have libdl installed in a different location (or not at all).



ld: warning multiple definitions of symbol _signal /Users/etmeek/Documents/Dev/NetSolve/obj/powerpc_apple_darwin/ netsolvesignals.o definition of _signal in section (__TEXT,__text) /usr/lib/libSystem.dylib(signal.So) definition of _signal ld: Undefined symbols: _dlclose _dlerror _dlopen _dlsym

You don't show the link line here, I doubt that it contains -ldl.

Peter
_______________________________________________
unix-porting mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/unix-porting
Do not post admin requests to the list. They will be ignored.



References: 
 >Building Shared Libraries using dlcompat (From: "Eric T.Meek" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.