Bug 16370 - Missing symlinks in gd package
Missing symlinks in gd package
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: gd (Show other bugs)
7.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nalin Dahyabhai
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-08-16 12:15 EDT by Mike McHenry
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-08-16 12:15:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mike McHenry 2000-08-16 12:15:05 EDT
I have noticed that the gd-1.8 package is missing compatibility symlinks 
for the following:

/usr/lib/libgd.so
/usr/lib/libgd.so.1

The fix is simple, patch gd.spec with the following...

--- /usr/src/redhat/SPECS/gd.spec       Wed Aug  2 15:08:17 2000
+++ /tmp/gd.spec        Wed Aug 16 11:13:09 2000
@@ -8,6 +8,7 @@
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-root
 Prereq: /sbin/ldconfig
+Provides: libgd.so libgd.so.1
 BuildPrereq: libjpeg-devel, libpng-devel, zlib-devel
 Requires: libjpeg, libpng, zlib
 %define shlibver %(echo %{version} | cut -f-2 -d.)
@@ -62,6 +63,7 @@
        INSTALL_LIB=$RPM_BUILD_ROOT%{_libdir}
 install -m 755 libgd.so.%{version} $RPM_BUILD_ROOT%{_libdir}/
 ln -s libgd.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libgd.so
+ln -s libgd.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libgd.so.1
 
 %clean
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -fr $RPM_BUILD_ROOT
@@ -73,7 +75,7 @@
 %files
 %defattr(-,root,root)
 %doc readme.txt index.html
-%{_libdir}/*.so.*.*
+%{_libdir}/*.so*
 
 %files progs
 %defattr(-,root,root)
Comment 1 Nalin Dahyabhai 2000-08-16 14:42:05 EDT
The .so symlink is in gd-devel, and a .so.1 would be a bad idea because gd 1.8
is not binary-compatible with 1.3 (it uses PNG and not GIF).

Note You need to log in before you can comment on or make changes to this bug.