libtool-patches
[Top][All Lists]
Advanced

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

RE: Patch to fix missing pathnames in uninstalled libraries


From: Greg Eisenhauer
Subject: RE: Patch to fix missing pathnames in uninstalled libraries
Date: Thu, 27 Mar 2003 16:06:25 -0500

Sorry.  It would help if I attached the file....

Boehne, Robert writes:
 > Could you come up with a test case for Libtool to show
 > the problem (and your patch fixing it)?  If we install your
 > patch it may fix the problem you're having, but without
 > a test case it will probably get broken in the future.

As per Robert's request, here's a new test case that demonstrates the
problem with dlopen pathnames in uninstalled libraries and the patch that
fixes it.   Attached below is a tar file with the following files:

bugfix_patch                    # the patch that fixes the bug

add_test_patch                  # the patch that adds the new tests
                                # this patch modifies bootstrap, config.ac,
                                # mdemo/Makefile.am and tests/Makefile.am

mdemo2/                         # new directory for the test
mdemo2/.cvsignore
mdemo2/Makefile.am
mdemo2/README
mdemo2/configure.ac
mdemo2/main.c
mdemo/mlib.c                    # a new library that uses lt_dlopen
tests/mdemo2-conf.test          # the test files
tests/mdemo2-exec.test
tests/mdemo2-make.test


If you untar the attachment in a checkout out libtool root directory and
apply add_test_patch, you should see the mdemo2-make fail and mdemo2-exec
test skipped.   After applying bugfix_patch, all tests pass (at least for me
on a RedHat 7.3 box with CVS autoconf and automake.

I assume that incorporating this into libtool will require a copyright
assignment form.  If someone sends me one I'll be happy to complete it.

greg

Attachment: eisen_patch.tar
Description: Tar file


reply via email to

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