[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linking with static library when using libtool, also c-client weirdness



Sounds like you mean to link statically with c-client.a?
If so, you don't need to delete the .so, simply add c-client.a to list
of objects while linking.

gcc -o main main.o c-client.a


On Wed, Dec 20, 2000 at 12:49:29AM +0100, Petr Cech wrote:
> Hi,
> this may sound a bit weird, but I have here php4-imap module, which links with
> libc-client. So far so good, but it seems to strangely interact with php4-ldap
> -> crashes. But when I link with c-client.a it's OK. The only problem is, that
> I know how to do it only by deleting the .so symlink libc-client.so -> ....
> 
> Any suggestions?
> 				Petr Cech
> P.S. this seems like a bug in c-client, as it doesn't work correctly as a
> shared lib
> -- 
> Debian GNU/Linux maintainer - www.debian.{org,cz}
>            cech@atrey.karlin.mff.cuni.cz



Reply to: