Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 778476 - media-libs/libmp3splt: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libmp3splt.so: undefined reference to `dlsym' (was: media-sound/mp3splt-2.6.2 fails to compile)
Summary: media-libs/libmp3splt: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-26 17:23 UTC by Agostino Sarubbo
Modified: 2021-03-26 18:17 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,16.05 KB, text/plain)
2021-03-26 17:23 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-03-26 17:23:21 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-sound/mp3splt-2.6.2 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2021-03-26 17:23:23 UTC
Created attachment 694431 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-03-26 17:23:25 UTC
Possible context of error(s):

/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libmp3splt.so: undefined reference to `dlopen'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libmp3splt.so: undefined reference to `dlclose'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libmp3splt.so: undefined reference to `dlerror'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libmp3splt.so: undefined reference to `dlsym'
collect2: error: ld returned 1 exit status
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-26 17:41:07 UTC
We need to append -ldl in LIBS
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-26 17:41:15 UTC
(In reply to Sam James from comment #3)
> We need to append -ldl in LIBS

(to libmp3splt)
Comment 5 Larry the Git Cow gentoo-dev 2021-03-26 18:17:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=884d88874e6159105f9db0eeaf3c78aed8aee4f5

commit 884d88874e6159105f9db0eeaf3c78aed8aee4f5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-26 18:16:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-26 18:17:14 +0000

    media-libs/libmp3splt: fix libdl linkage
    
    Closes: https://bugs.gentoo.org/778476
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{libmp3splt-0.9.2-r3.ebuild => libmp3splt-0.9.2-r4.ebuild}      | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)