Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 451546 - app-text/liblangtag-0.4.0 - ../liblangtag/.libs/liblangtag.so: error: undefined reference to 'dlopen'
Summary: app-text/liblangtag-0.4.0 - ../liblangtag/.libs/liblangtag.so: error: undefin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL: https://bitbucket.org/tagoh/liblangta...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-01-12 16:45 UTC by Ambroz Bizjak
Modified: 2013-01-16 21:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build-log.txt (build-log.txt,48.93 KB, text/plain)
2013-01-12 16:45 UTC, Ambroz Bizjak
Details
liblangtag-0.4.0-libdl.patch (liblangtag-0.4.0-libdl.patch,437 bytes, patch)
2013-01-12 16:47 UTC, Ambroz Bizjak
Details | Diff
liblangtag-0.4.0.ebuild.patch (liblangtag-0.4.0.ebuild.patch,637 bytes, patch)
2013-01-12 16:49 UTC, Ambroz Bizjak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ambroz Bizjak 2013-01-12 16:45:16 UTC
Build fails because libdl is not linked; log is attached.

Reproducible: Always
Comment 1 Ambroz Bizjak 2013-01-12 16:45:38 UTC
Created attachment 335344 [details]
build-log.txt
Comment 2 Ambroz Bizjak 2013-01-12 16:47:01 UTC
Created attachment 335346 [details, diff]
liblangtag-0.4.0-libdl.patch

This patch makes sure liblangtag is linked to libdl. Combined with an eautoreconf the build succeeds.
Comment 3 Ambroz Bizjak 2013-01-12 16:49:55 UTC
Created attachment 335348 [details, diff]
liblangtag-0.4.0.ebuild.patch

Ebuild patch to apply the patch and run eautoreconf.

NOTE: there are error messages during eautoreconf and configure. I do now know if they are important or how to fix them.

 * Running libtoolize --install --copy --force --automake ...                                                            [ ok ]
/var/tmp/portage/app-text/liblangtag-0.4.0/temp/environment: line 743: NULL: command not found

./configure: line 12244: GNOME_COMPILE_WARNINGS: command not found
./configure: line 12246: GNOME_COMMON_INIT: command not found
./configure: line 12247: GNOME_DEBUG_CHECK: command not found
./configure: line 12248: GNOME_MAINTAINER_MODE_DEFINES: command not found
Comment 4 Tolga Dalman 2013-01-13 09:57:32 UTC
I can confirm that -- emerge fails because libdl is not linked.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2013-01-16 21:26:59 UTC
+*liblangtag-0.4.0-r1 (16 Jan 2013)
+
+  16 Jan 2013; Justin Lecher <jlec@gentoo.org> +liblangtag-0.4.0-r1.ebuild,
+  +files/liblangtag-0.4.0-module.patch, metadata.xml:
+  Fix for underlinking, #451546; patch sent upstream
+