enhance library loader to make it possible to load by SONAME
| Project: | GNU Smalltalk |
| Component: | VM |
| Category: | feature |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | invalid |
| Attachment: | 12_load_by_soname.patch (1002 bytes) |
Hello,
in gst 2.95f some .star package.xml (say NCurses) list the library they will load at runtime, using <library>libncurses</library>.
The function associated will try to find libncurses.la then libncurses.so but those do not exist. (The libncurses.so would be available if the user had libncurses-dev package installed).
The attached patch makes it possible to load using the SONAME of the library, e.g. using:
<library>libncurses.so.5</library>
in package.xml
Updates
| Status: | active | » invalid |
On the libtool mailing list people suggested that the installation script for your program create a symlink from the module directory to the libncurses that the program should open.
I will do the change as soon as possible, as soon as I figure out a way to do it portably; in the meanwhile, however, this should be worked around in the Debian package, since lack of libncurses.so is a Debian peculiarity.
Thanks!
