Re: RH shared library issues (Re: libjpeg problems)
- From: Steve Dunham <dunham cps msu edu>
- To: redhat-devel-list redhat com
- Cc: gnome-list gnome org
- Subject: Re: RH shared library issues (Re: libjpeg problems)
- Date: 20 May 1998 00:03:03 -0400
alan@lxorguk.ukuu.org.uk (Alan Cox) writes:
> > Given the source of the RPM Gnome snapshots, I worry about whether
> > RedHat 5.1 will ship with libjpeg version 6b having a soname of
> > libjpeg.so.6, making it incompatible with both programs compiled on
> > Red Hat 5.0 and on Debian Linux.
> That would be a bit nasty if it happened. I'll try and check soon
I've attached a patch against the libjpeg.spec that came in
libjpeg-6b-1a.src.rpm on the gnome ftp site. I've also sent a copy to
Cristian Gafton, who is the most recently listed person in the
changelog.
It removes the now unnecessary patch, fixes the configure line, and
cleans up the build/install process.
> Care to send a list to bugs@ and cc me. I'll make sure it appears in
> the bugs dbase.
I'll take a look at the libraries in /usr/lib and pass a list of
troublesome ones to both bugs and you. Do you work for Red Hat?
Steve
dunham@cps.msu.edu
--- libjpeg.spec.orig Tue May 19 14:51:27 1998
+++ libjpeg.spec Tue May 19 15:12:17 1998
@@ -1,15 +1,17 @@
Summary: Library for handling different jpeg files.
Name: libjpeg
Version: 6b
-Release: 1a
+Release: 1b
Copyright: distributable
Group: Libraries
Source0: ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
BuildRoot: /var/tmp/libjpeg-root
-Patch0: jpeg-6b-shared.patch
-%define LIBVER 6.0.1
+%define LIBVER 62.0.0
%changelog
+* Tue May 19 1998 Steve Dunham <dunham@cps.msu.edu>
+- Fixed soname
+
* Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
- upgraded to version 6b
@@ -30,21 +32,16 @@
%prep
%setup -n jpeg-6b
-%patch -p1
%build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=$RPM_BUILD_ROOT/usr
+CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=$RPM_BUILD_ROOT/usr --enable-shared --enable-static
make
-LD_LIBRARY_PATH=$PWD make test
+make test
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/{lib,include,bin,man/man1}
make install
-make install-headers
-make install-lib
-install -m 755 -o 0 -g 0 libjpeg.so.%{LIBVER} $RPM_BUILD_ROOT/usr/lib
-ln -sf libjpeg.so.%{LIBVER} $RPM_BUILD_ROOT/usr/lib/libjpeg.so
%post -p /sbin/ldconfig
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]