#19 [svn] compiling gives error about wrong libpng symbol format

Martin Zi.

Hi ...
I have problems compiling on SuSE 10.3 ... using snv and special tips for SuSE running ./configure ...

any hints ?


make[3]: Entering directory `/home/mazi1802/SourceCodes/kontrollerlab/src'
/bin/sh ../libtool --silent --tag=CXX --mode=link g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -R /opt/kde3/lib64 -R /usr/lib64/qt3/lib64 -R /usr/lib64 -L/usr/lib64 -L/usr/lib64/qt3/lib64 -L/opt/kde3/lib64 -o kontrollerlab klasminstruction.o klavrcpu.o klavrflash.o klavrgcccompiler.o klavrram.o klcharvector.o klcompilerinterface.o klcpufeatures.o klcpufuses.o klcpuregisterdescription.o kldatadisplay.o kldebugger.o kldebuggerbreakpoint.o kldebuggerconfigwidget.o kldebuggermemmappinglistviewitem.o kldebuggermemorymapping.o kldocument.o kldocumentview.o kleditdotswidget.o klfilenewdialog.o klhistogram.o klinterruptraiserwidget.o klmemorycelllistboxitem.o klmemoryviewwidget.o klprocess.o klprocesshandler.o klprocessmanager.o klprogramfuseswidget.o klprogrammeravrdude.o klprogrammerconfigwidget.o klprogrammerinterface.o klprogrammeruisp.o klproject.o klprojectconfigwidget.o klprojectmanagerwidget.o klscope.o klserialport.o klserialportlistener.o klserialterminalwidget.o klsourcecodetoasmrelation.o klwizardheadersetting.o klwizardheadersettings.o kontrollerlab.o main.o kldebuggerconfigwidgetbase.o klfilenewdialogbase.o klinterruptraiserwidgetbase.o klmemoryview.o klprogramfuseswidgetbase.o klprogrammerconfigwidgetbase.o klprojectconfigwidgetbase.o klprojectmanagerwidgetbase.o klserialterminalwidgetbase.o ../src/wizards/dotmatrix/libdotmatrix.a ../src/wizards/dotmatrix_character/libdotmatrix_character.a ../src/wizards/font/libfont_wizard.a ../src/wizards/sevensegment/libsevensegment.a ../src/wizards/libwizardfactory.a -lkdeui -lkmdi -lkparts -lktexteditor
/usr/lib/libpng12.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [kontrollerlab] Fehler 1
make[3]: Leaving directory `/home/mazi1802/SourceCodes/kontrollerlab/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/mazi1802/SourceCodes/kontrollerlab/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/mazi1802/SourceCodes/kontrollerlab'
make: *** [all] Fehler 2



  • Martin Strasser

    Martin Strasser - 2008-08-20
    • assigned_to: nobody --> cadmaniac
    • status: open --> pending
  • Martin Strasser

    Martin Strasser - 2008-08-20

    Logged In: YES
    Originator: NO

    It seems that the problem is the following: You are compiling on a 64 bit machine. But the library which gets linked is located in /usr/lib, not /usr/lib64.

    Please try to add the following to the configure command line:

    Then, configure should have a look there first and it should work then.


  • SourceForge Robot

    Logged In: YES
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

  • SourceForge Robot

    • status: pending --> closed

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks