[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: gthumb (updated and adopted package)



Il giorno Sun, 30 Dec 2007 08:32:20 +0100
Julien Valroff <julien@kirya.net> ha scritto:

> > I have built the new release, but still an issue with libgthumb.so -
> > gthumb can't find the library:
> > $ ldd /usr/bin/gthumb | grep "not found"
> > 	libgthumb.so => not found
> > 
> > I attach the build log as there are many related Lintian warnings/errors
>                            s/Lintian/dpkg-shlibdeps/ ^^

Those warnings are because dpkg-shlibdeps sees many "unneeded" linkings. If I'm
not wrong, there is a discussion on debian-devel about adding "-Wl,--as-needed"
to LDFLAGS to avoid those warnings [1].

However, on my system:

$ ldd /usr/bin/gthumb | grep libgthumb
	libgthumb.so => /usr/lib/gthumb/libgthumb.so (0xb7ef9000)

Are you sure you have the right package? What does

$ dpkg -c package.deb | grep libgthumb

return? Is libgthumb.so still a symlink?

About the buildlog youo attached: at line 2527, libgthumb.so gets correctly
installed into the tmp/ directory:

/usr/bin/install
-c .libs/libgthumb.so /tmp/gthumb-2.10.7/debian/tmp/usr/lib/gthumb/libgthumb.so

This might be indicative though:

dpkg-shlibdeps: warning: couldn't find library libgthumb.so needed by
debian/gthumb/usr/lib/gthumb/gthumb/modules/libduplicates.so (its RPATH is '').
Note: libraries are not searched in other binary packages that do not have any
shlibs file. To help dpkg-shlibdeps find private libraries, you might need to
set LD_LIBRARY_PATH.

and similarly for other libraries (happens also for me).

So, we said that the shlibs file is useless, dpkg here suggests that it only
searches into shlibs-providing packages. Should I make a
symlink /usr/lib/libgthumb.so pointing to the real .so, and override "package
name doesn't match SONAME" warnings, or...?

I've just rebuilt the package, and libgthumb.so is correctly placed
into /usr/lib/gthumb/. And, again:

$ which gthumb
/usr/bin/gthumb
$ gthumb --version
GNOME gthumb 2.10.7
$ ldd `which gthumb`|grep libgthumb.so
	libgthumb.so => /usr/lib/gthumb/libgthumb.so (0xb7ec3000)

So, I guess, is it probably a amd64-related/specific problem?

Kindly,
David

[1] http://www.mail-archive.com/debian-devel@lists.debian.org/msg254615.html

-- 
 . ''`.  Debian maintainer |  http://snipurl.com/qa_page
 : :'  :  Linuxer #334216  |  http://www.hanskalabs.net/
 `. `'`    GPG: 1392B174   | http://www.debianizzati.org/
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature


Reply to: