Re: Libraries in non-standard locations

2006-06-12 Thread Brian Dessent
Norbert Sendetzky wrote: > As you can see the call to libtool include the "-L /usr/lib/mysql", but the > gcc call doesn't. My Makefile.am for this lib is It is incorrect to put a space between -L and the path. Fix that and it should work fine. Brian

Libraries in non-standard locations

2006-06-12 Thread Norbert Sendetzky
Hi all Another problem appeared: If someone have a library in a non-standard location, usually LDFLAGS=-L /path/to/lib is used but this doesn't seem to work: /bin/sh ../../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -L /usr/lib/mysql -o libmysqlbackend.la -rpath /usr/local/lib/opendbx