[Top][All Lists]

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

Install the dlopenable module

From: thhsieh
Subject: Install the dlopenable module
Date: Mon, 20 Aug 2001 09:21:27 +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

It seems successfully. Now I get the following files in my working

        foo.c,, foo.lo, foo.o, .libs/
        .libs/ (symbolic link to ../

Now I want to install the module into my destinct directory. I use the
following command:

        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 have tested for libtool-1.3.3 and libtool-1.4. The results are the
same. Could anyone tell me how to fix this problem? Thanks very much. :-)

Best Regards,


reply via email to

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