Multiply defined _init()

2000-12-18 Thread michael pruett
I'm writing a library which has an _init() function. For reference I am using Linux; Linux's dlopen calls _init before it finishes. Here's how I usually compile the shared library. % gcc -shared -fpic -c funny.c % ld -shared funny.o -o funny.so -ldl -lm When I try to use libtool, I run into th

relink_command quoting bug

2004-02-16 Thread Michael Pruett
I have found that libtool fails to quote directory names when generating relink_command in wrapper scripts. This has been tested with versions 1.4.2a on Linux and 1.5.2 on Mac OS X. The wrapper scripts generate a line which looks like the following: relink_command="(cd /home/michael/my code/src;

Re: relink_command quoting bug

2004-02-17 Thread Michael Pruett
On Tue, Feb 17, 2004 at 02:44:12AM -0600, Albert Chin wrote: > Search your "libtool" script for a line like: > relink_command="(cd `pwd`; ... > and change it to: > relink_command="(cd \"`pwd`\"; ... > > Does that fix it? I should have posted the original relink command in its entirety: relin