Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 533636

Summary: sys-apps/gptfdisk-0.8.10 USE=static - ld: /usr/lib64/libncursesw.a(lib_mouse.o): In function `unload_gpm_library': (.text+0x9eb): undefined reference to `dlclose'
Product: Gentoo Linux Reporter: Petros <petros_20>
Component: [OLD] Core systemAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Status: RESOLVED OBSOLETE    
Severity: normal CC: polynomial-c
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=490582
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description Petros 2014-12-26 21:26:56 UTC
Created attachment 392460 [details]
emerge --info

sys-apps/gptfdisk can not be linked statically.
Comment 1 Petros 2014-12-26 21:27:41 UTC
Created attachment 392462 [details]
build.log
Comment 2 Mike Gilbert gentoo-dev 2014-12-27 05:57:22 UTC
Seems more like an issue with ncurses than gptfdisk.

usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../lib64/libncursesw.a(lib_mouse.o): In function `unload_gpm_library':
(.text+0x9eb): undefined reference to `dlclose'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../lib64/libncursesw.a(lib_mouse.o): In function `load_gpm_library':
(.text+0xa3b): undefined reference to `dlopen'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../lib64/libncursesw.a(lib_mouse.o): In function `load_gpm_library':
(.text+0xa5f): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../lib64/libncursesw.a(lib_mouse.o): In function `load_gpm_library':
(.text+0xa87): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../lib64/libncursesw.a(lib_mouse.o): In function `load_gpm_library':
(.text+0xaab): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../lib64/libncursesw.a(lib_mouse.o): In function `load_gpm_library':
(.text+0xacf): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../lib64/libncursesw.a(lib_mouse.o): In function `load_gpm_library':
(.text+0xb11): undefined reference to `dlerror'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/../../../../x86_64-pc-linux-gnu/bin/ld: link errors found, deleting executable `cgdisk'
collect2: error: ld returned 1 exit status
Makefile:21: recipe for target 'cgdisk' failed
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-07-09 08:24:05 UTC
Closing this bug as it's really old and the version this report was filed against has long been removed from Gentoo. Please file a new bug report in case this problem still hits you.