[Top][All Lists]

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

Re: Install the dlopenable module

From: thhsieh
Subject: Re: Install the dlopenable module
Date: Tue, 21 Aug 2001 00:16:47 +0800
User-agent: Mutt/1.2.5i

I am writing a program which will use dlopen() to use other separated
: modules. I want to use libtool to do this work more portable. Now my
: problem is in the creating the module part. I use the following commands
: to compile/link my module:
:         libtool --mode=compile gcc -O2 -c -o foo.lo foo.c
:         libtool --mode=link gcc -module -o foo.lo
[deleted ....]
:         libtool --mode=install install /tmp/foo_dir/
: But it fails. The message is
: install .libs/foo.lai /tmp/foo_dir/
: install: .libs/foo.lai: No such file or directory


I suddently found the reason: I forgot to add the -rpath option when
linking. After fixing this, the problem goes away.

Very sorry to ask such a stupid question here. :-))

Best Regards,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]