[Coin-discuss] Problems with shared libraries in Linux

Stefan Vigerske stefan at vigerske.de
Thu Oct 23 03:36:27 EDT 2008


Hi,

> Hi I have been trying to access coin shared libraries dynamically at
> execution time with the ctypes library in python.
> 
> I always get undefined symbol errors.
> 
> After much investigation it seems that the linker in the
> standard .configure ; make ; make test cyle does not correctly identify
> the dependencies of the library at link time.
> 
> I note that to build a windows dll in cygwin you need to specify all
> dependencies so there should be a way to do it in linux. is it possible
> to make all projects link with the --no-undefined flag ??

You can specify any additional linker flags with the LDFLAGS parameter
of configure, e.g, ./configure LDFLAGS="--no-undefined"

Best,
Stefan




More information about the Coin-discuss mailing list