Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#10150 - libfcgi++.so not included in fcgi package (x86_64)

Attached to Project: Arch Linux
Opened by Denis Martinez (denis) - Friday, 11 April 2008, 12:39 GMT
Last edited by Pierre Schmitz (Pierre) - Friday, 19 September 2008, 13:25 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture x86_64
Severity Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
libfcgi++.so* do not exist in the fcgi package for x86_64, but the i686 package has it. It makes me unable to build wt (www.webtoolkit.eu).

Additional info:
* fcgi 2.4.0-4

How to fix:
Just rebuild the package (probably some makedepends should be added)
This task depends upon

Closed by  Pierre Schmitz (Pierre)
Friday, 19 September 2008, 13:25 GMT
Reason for closing:  Fixed
Additional comments about closing:  configure scritps were outdated and broken. Just applied patch from Debain to them. :-)
Comment by Glenn Matthys (RedShift) - Tuesday, 17 June 2008, 13:18 GMT
This is because the fcgi package actually depends on itself: if you look closely at the build script's output, you see:

/bin/install -c .libs/libfcgi.a /var/abs/local/glenn/fcgi/pkg/usr/lib/libfcgi.a
ranlib /var/abs/local/glenn/fcgi/pkg/usr/lib/libfcgi.a
chmod 644 /var/abs/local/glenn/fcgi/pkg/usr/lib/libfcgi.a
libtool: install: warning: remember to run `libtool --finish /usr/lib'
/bin/sh ../libtool --mode=install /bin/install -c libfcgi++.la /var/abs/local/glenn/fcgi/pkg/usr/lib/libfcgi++.la
libtool: install: warning: relinking `libfcgi++.la'
cd /var/abs/local/glenn/fcgi/src/fcgi-2.4.0/libfcgi; /bin/sh ../libtool --mode=relink g++ -O2 -march=i686 -mtune=generic -pipe -o libfcgi++.la -lfcgi -rpath /usr/lib fcgio.lo -lnsl
gcc -shared fcgio.lo -L/usr/lib -lfcgi -lnsl -Wl,-soname -Wl,libfcgi++.so.0 -o .libs/libfcgi++.so.0.0.0
/usr/bin/ld: cannot find -lfcgi
collect2: ld returned 1 exit status
libtool: install: error: relink `libfcgi++.la' with the above command before installing it
libtool: install: warning: remember to run `libtool --finish /usr/lib'
make[2]: Leaving directory `/var/abs/local/glenn/fcgi/src/fcgi-2.4.0/libfcgi'
make[1]: Leaving directory `/var/abs/local/glenn/fcgi/src/fcgi-2.4.0/libfcgi'
Making install in cgi-fcgi

This causes the libfcgi++ library not to be built, because it wants to link against fcgi, but isn't present because it isn't installed in the local system, only in the package directory. Take a look at this:

[root@galaxy tmp]# ldd usr/lib/libfcgi++.so.0
linux-vdso.so.1 => (0x00007fffc87fe000)
libfcgi.so.0 => /usr/lib/libfcgi.so.0 (0x00007f88c023e000) <----------
libnsl.so.1 => /lib/libnsl.so.1 (0x00007f88c0026000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f88bfe0e000)
libc.so.6 => /lib/libc.so.6 (0x00007f88bfabb000)
/lib/ld-linux-x86-64.so.2 (0x00007f88c0658000)
[root@galaxy tmp]# ldd usr/lib/libfcgi.so.0
linux-vdso.so.1 => (0x00007fffd37fe000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00007f94cb21f000)
libc.so.6 => /lib/libc.so.6 (0x00007f94caecc000)
/lib/ld-linux-x86-64.so.2 (0x00007f94cb64c000)

Then why did it work for i686? Because whoever built the package for i686, had already installed fcgi prior to building the updated package.

I'm not sure how to fix this one.

Loading...