[feature] enhance library loader to make it possible to load by SONAME

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[feature] enhance library loader to make it possible to load by SONAME

Thomas Girard
Issue status update for
http://smalltalk.gnu.org/node/136
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/136

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    VM
 Category:     feature requests
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  tgg
 Updated by:   tgg
 Status:       active
 Attachment:   http://smalltalk.gnu.org/files/issues/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




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [feature] enhance library loader to make it possible to load by SONAME

Paolo Bonzini
Issue status update for
http://smalltalk.gnu.org/project/issue/136
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/136

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    VM
 Category:     feature requests
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  tgg
 Updated by:   bonzinip
-Status:       active
+Status:       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!




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk