Re: Problem with GLIBC_PRIVATE

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

 



Andreas Thienemann wrote:
I've tried packaging twinkle, a sip softphone, for FE but there is a problem with the dependencies.

twinkle is linking against libresolv, but is using some GLIBC_PRIVATE symbols, as objdump shows:

  required from libresolv.so.2:
    0x0d696912 0x00 16 GLIBC_2.2
    0x0d696910 0x00 11 GLIBC_2.0
    0x0963cf85 0x00 10 GLIBC_PRIVATE

Calling nm on the binary shows that the following to symbols are used:
         U __ns_get16@@GLIBC_PRIVATE
         U __ns_name_ntop@@GLIBC_PRIVATE


Question is, how to proceed?
Is this merely a linker problem, that the wrong libraries are linked or is it a problem in the application which shouldn't use these calls at all?

I saw a similar thing with __ns_get16 in a different package a while back. There was a configure test that looked for this symbol in the C library and picked that one if it was present, otherwise it used one provided by the package itself. A similar thing may be happening in your case.

The way I fixed it for __ns_get16 was to tell configure that __ns_get16 was not found in the C library:

ac_cv_func___ns_get16=no
export ac_cv_func___ns_get16
%configure
...

Paul.

--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux