Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-03-2012, 06:21 AM   #1
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 522

Rep: Reputation: 44
libgdiplus build error

Hello, I am trying to compile libgdiplus and I am getting the following error:
/bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -pthread   -o testgdi testgdi.o ../src/ -lpthread -lfontconfig 
libtool: link: gcc -g -O2 -pthread -o .libs/testgdi testgdi.o  ../src/.libs/ -lpthread /usr/lib64/ -pthread -Wl,-rpath -Wl,/usr/lib64
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: testgdi.o: undefined reference to symbol 'g_free'
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld: note: 'g_free' is defined in DSO /usr/lib64/ so try adding it to the linker command line
/usr/lib64/ could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [testgdi] Error 1
I am using the correspondent slackbuild from
I tried to build this in Slackware64-current.

Any ideas?
Old 09-03-2012, 06:49 AM   #2
Senior Member
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,982

Rep: Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259
it needs a fix for the linker in -current: it has already been pushed to the master branch in's git
1 members found this post helpful.
Old 09-03-2012, 09:02 AM   #3
Registered: May 2008
Location: Aveiro
Distribution: Slackware
Posts: 522

Original Poster
Rep: Reputation: 44
Thanks, it work perfectly


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
build error Youri Linux From Scratch 15 11-07-2011 07:27 AM
jhbuild: Error during phase build of gnome-shell: Error running make Kenny_Strawn Linux - Desktop 1 07-09-2010 07:01 PM
LXer: Build 'em Right, Build 'em Strong, Build 'em Linux LXer Syndicated Linux News 0 10-01-2007 10:51 PM
libgdiplus make error /want to install for mono gaddargarson Programming 2 04-10-2005 04:38 PM
libgdiplus make error /about mono gaddargarson Fedora 1 04-05-2005 11:29 AM

All times are GMT -5. The time now is 10:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration