Modify

Opened 8 years ago

Last modified 4 years ago

#7020 new defect

openssl does not create libssl.so symlink

Reported by: jj Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: openssl Cc:

Description

The openssl makefile does not create the /usr/lib/libssl.so symbolic link due to a small error in the Makefile. A correcting patch is attached.

Attachments (2)

openssl.patch (567 bytes) - added by jj 8 years ago.
patch package/openssl/Makefile
openssl2.patch (547 bytes) - added by jj 8 years ago.
openssl patch

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by jj

patch package/openssl/Makefile

Changed 8 years ago by jj

openssl patch

comment:1 Changed 8 years ago by jj

Please disregard openssl.patch and use openssl2.patch. Other change was needed to ensure that symbolic links are copied as symbolic links.

comment:2 follow-up: Changed 8 years ago by nico

Why do you need an /usr/lib/libssl.so symlink on the target ? Those are usually only needed on the build host for linking binaries...

comment:3 in reply to: ↑ 2 Changed 8 years ago by jj

Replying to nico:

Why do you need an /usr/lib/libssl.so symlink on the target ? Those are usually only needed on the build host for linking binaries...

Hi Nico,
I guess there would be two reasons:

  • some software packages load libraries dynamically through the use of dlopen()/dlsym. (ie I run into this with shellinabox) if these symbolic names do not exist then these utilities will either fail or not be able to use the functionality
  • from a consistency perspective I would expect either all links to be there or no links, however, there are only to exceptions where links are not provided (being libnvram and libssl) all other libraries in /usr/lib have their symbolic links present (libcurl, libz, liblzo2, libiptc etc).

The additional overhead of providing an extra link - for the purpose of either consistency or compatibility - is negligible.
Jan

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.