Building pcmanfm from git fails with the following error:

/usr/bin/ld: pcmanfm-desktop.o: undefined reference to symbol
'floor@@GLIBC_2.2.5'
/usr/bin/ld: note: 'floor@@GLIBC_2.2.5' is defined in
DSO /lib64/libm.so.6 so try adding it to the linker command
line /lib64/libm.so.6: could not read symbols: Invalid
operationcollect2: error: ld returned 1 exit status

I'm running Mageia 'caldron' with glib2.0-2.33.8

I can eliminate the error and get a clean build using the attached
patch.


    Charles

 
-- 
Peter Griffin:  They look at me and see a loser. Except that guy with
the lazy eye... He sees a loser and a snack machine.
---------------------- Mageia release 3 (Cauldron) for x86_64$
On SuperSize....http://www.eslrahc.com
Registered Linux user #182463
3.5.1-server-1.mga3 x86_64
----------------------
--- configure.ac~	2012-08-16 07:04:06.000000000 -0400
+++ configure.ac	2012-08-16 07:04:49.000000000 -0400
@@ -15,6 +15,8 @@
 
 # Checks for header files.
 AC_HEADER_STDC
+AC_CHECK_LIB(m, floor)
+AC_CHECK_LIB(z, inflate)
 
 # Checks for typedefs, structures, and compiler characteristics.
 

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Pcmanfm-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pcmanfm-develop

Reply via email to