FS#28998 - [rox] PKGBUILD fails to create package - undefined reference

Attached to Project: Arch Linux
Opened by WorMzy Tykashi (WorMzy) - Sunday, 18 March 2012, 23:16 GMT
Last edited by Eric Belanger (Snowman) - Monday, 19 March 2012, 00:48 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Compile fails with "/usr/bin/ld: xtypes.o: undefined reference to symbol 'dlopen@@GLIBC_2.1'"

Additional info:
Fixed by adding LIBS="-ldl -lm" to line 23 of the PKGBUILD, so that it reads:
./ROX-Filer/AppRun --compile LIBS="-ldl -lm"

Just adding -ldl is not sufficient, as it also requires libm.


Steps to reproduce:
Download PKGBUILD and run makepkg
This task depends upon

Closed by  Eric Belanger (Snowman)
Monday, 19 March 2012, 00:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in svn
Comment by Daniel Wallace (gtmanfred) - Monday, 19 March 2012, 00:36 GMT
I got the exact same error and adding LIBS="-ldl -lm" to line 23 allowed me to compile the package.

Loading...