Can't compile amaya linux x86_64, fedora 16

Dear Sir or Madam,

amaya_wx-11.4.4-0.x86_64.rpm 
<http://www.w3.org/Amaya/Distribution/amaya_wx-11.4.4-0.x86_64.rpm> 
wouldn't install.  Said it couldn't find libcrypto.so.0.9.8 or 
libssl.so.0.9.8, both of which were in both /usr/lib and /usr/lib64.  So 
I decided to compile from source.  The error I can't figure out how to 
repair is the link error here:

g++  -o ../bin/amaya_bin wxdialog/AuthentDlgWX.o 
wxdialog/CheckedListDlgWX.o wxdialog/CreateTableDlgWX.o 
wxdialog/DocInfoDlgWX.o wxdialog/FontDlgWX.o wxdialog/HRefDlgWX.o 
wxdialog/ImageDlgWX.o wxdialog/InitConfirmDlgWX.o wxdialog/ListBoxBook.o 
wxdialog/ListDlgWX.o wxdialog/ListEditDlgWX.o wxdialog/ListNSDlgWX.o 
wxdialog/MakeIdDlgWX.o wxdialog/MetaDlgWX.o wxdialog/ObjectDlgWX.o 
wxdialog/OpenDocDlgWX.o wxdialog/PreferenceDlgWX.o wxdialog/PrintDlgWX.o 
wxdialog/SaveAsDlgWX.o wxdialog/SearchDlgWX.o 
wxdialog/SelectOperatorDlgWX.o wxdialog/SelectFenceAttributesDlgWX.o 
wxdialog/SelectIntegralDlgWX.o wxdialog/SpellCheckDlgWX.o 
wxdialog/SendByMailDlgWX.o wxdialog/StyleDlgWX.o 
wxdialog/StyleListToolPanel.o wxdialog/TitleDlgWX.o wxdialogapi.o 
EDITORAPP.o HTMLAPP.o TextFileAPP.o XLinkAPP.o XMLAPP.o AHTURLTools.o 
EDITORactions.o EDITimage.o EDITstyle.o HTMLactions.o HTMLbook.o 
HTMLedit.o HTMLform.o HTMLhistory.o HTMLimage.o HTMLpresentation.o 
HTMLsave.o HTMLtable.o html2thot.o init.o insertelem.o MENUconf.o 
XLinkbuilder.o XLinkedit.o templates.o trans.o transparse.o UIcss.o 
Xml2thot.o Xmlbuilder.o XHTMLbuilder.o XPointer.o XPointerparse.o  
AHTBridge.o AHTFWrite.o answer.o query.o AHTMemConv.o AHTInit.o anim.o 
animbuilder.o SVGAPP.o SVGbuilder.o SVGedit.o TimelineAPP.o MathMLAPP.o 
MathMLbuilder.o Mathedit.o Mathedit_parser.o   
.../libwww/Library/src/HTHome.o  TemplateAPP.o Templatebuilder.o 
templateDeclarations.o templateInstantiate.o templateLoad.o 
templateUtils.o libCSS.a ../annotlib/libAnnot.a ../davlib/davlib.a    
-L../thotlib -L.. -lThotEditor    -lraptor  
-Wl,-rpath,/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/Mesa/lib 
-L/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/Mesa/lib -lGL -lGLU  
-lfreetype  
-L/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/libwww/Library/src/.libs 
-lwwwxml -lwwwzip -lwwwinit -lwwwapp -lwwwhtml -lwwwtelnet -lwwwnews 
-lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache 
-lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lwwwdav   
-L/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/libwww/Library/src/SSL/.libs 
-lwwwssl  
-L/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/libwww/modules/md5/.libs 
-lmd5   
-L/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/libwww/modules/expat/.libs 
-lexpat   -L/usr/lib -lssl -lcrypto 
-L/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/wxWidgets_RELEASE/lib 
-pthread   -L/usr/lib64   
/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/wxWidgets_RELEASE/lib/libwx_gtk2u_aui-2.8.a 
/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/wxWidgets_RELEASE/lib/libwx_gtk2u_xrc-2.8.a 
/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/wxWidgets_RELEASE/lib/libwx_gtk2u_adv-2.8.a 
/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/wxWidgets_RELEASE/lib/libwx_gtk2u_core-2.8.a 
/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/wxWidgets_RELEASE/lib/libwx_baseu_xml-2.8.a 
/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/wxWidgets_RELEASE/lib/libwx_baseu_net-2.8.a 
/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/wxWidgets_RELEASE/lib/libwx_gtk2u_gl-2.8.a 
/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/wxWidgets_RELEASE/lib/libwx_baseu-2.8.a 
-pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 
-lgdk_pixbuf-2.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 
-lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lXinerama -lXxf86vm -lSM 
-lexpat -lGL -lGLU -lwxregexu-2.8 -lwxtiff-2.8 -lwxjpeg-2.8 -lwxpng-2.8 
-lz -ldl -lm   -L/usr/lib64/libX11.so.6
/usr/bin/ld: 
/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/wxWidgets_RELEASE/lib/libwx_gtk2u_core-2.8.a(corelib_utilsx11.o): 
undefined reference to symbol 'XGetWindowAttributes'
/usr/bin/ld: note: 'XGetWindowAttributes' is defined in DSO 
/usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [../bin/amaya_bin] Error 1
make[1]: Leaving directory 
`/home/dbridges/Pgmg/RDF/Amaya11.4.4/Amaya/x86-64/amaya'
make: *** [amaya_prog] Error 2

I didn't find any linker flags in my main Makefile, which is what I 
thought was meant by "(*-L* flags in *LINK_OPTIONS*) for the X-Windows 
and other libraries files in |Amaya/|*obj *|/Makefile". Could you be 
more specific about where I should look to insert the information about 
libX11.so.6?  Thanks.  I can send the whole "makelog" if you like, of 
course.


Sincerely yours,

Donald Bridges


|

Received on Tuesday, 28 February 2012 10:16:02 UTC