You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (JIRA)" <ji...@apache.org> on 2015/07/31 00:18:04 UTC

[jira] [Commented] (TS-3632) libwccp.a(WccpMsg.o): undefined reference to symbol MD5_Final

    [ https://issues.apache.org/jira/browse/TS-3632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14648395#comment-14648395 ] 

Igor Galić commented on TS-3632:
--------------------------------

i'd like to point out that this is still failing on 5.3.1: https://launchpadlibrarian.net/211818045/buildlog_ubuntu-precise-amd64.trafficserver_5.3.1-2ah3~precise1_BUILDING.txt.gz

either our cherrypick wasn't such a success, or it's a regression, or something else.
but it's still/again failing.

> libwccp.a(WccpMsg.o): undefined reference to symbol MD5_Final
> -------------------------------------------------------------
>
>                 Key: TS-3632
>                 URL: https://issues.apache.org/jira/browse/TS-3632
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 5.3.0
>            Reporter: Igor Galić
>            Assignee: Jean Baptiste Favre
>             Fix For: 5.3.1, 6.0.0
>
>
> When building ATS 5.3.0 on Ubuntu >11.04[1,2] a linking failure occurs because of the ordering of the libraries:
> {code}
> libtool: link: c++ -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -pipe -Wall -feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -mcx16 -rdynamic -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/traffic_manager AddConfigFilesHere.o traffic_manager.o StatProcessor.o StatType.o StatXML.o  ../../mgmt/web2/libweb.a ../../mgmt/api/.libs/libmgmtapilocal.a /«PKGBUILDDIR»/lib/ts/.libs/libtsutil.so -lssl -lcrypto -L/usr/lib ../../mgmt/.libs/libmgmt_lm.a ../../proxy/hdrs/libhdrs.a ../../lib/records/librecords_lm.a ../../lib/ts/.libs/libtsutil.so ../../iocore/eventsystem/libinkevent.a ../../proxy/shared/liberror.a ../../proxy/shared/libdiagsconfig.a -lresolv -ltcl8.5 -lhwloc -lm ../../lib/wccp/libwccp.a ../../lib/tsconfig/.libs/libtsconfig.so -lcap -lpcre -lz -lcrypt -lpthread -lrt -ldl /usr/lib/x86_64-linux-gnu/libxml2.so -Wl,-rpath -Wl,/usr/lib/trafficserver
> /usr/bin/ld: ../../lib/wccp/libwccp.a(WccpMsg.o): undefined reference to symbol 'MD5_Final@@OPENSSL_1.0.0'
> /usr/bin/ld: note: 'MD5_Final@@OPENSSL_1.0.0' is defined in DSO /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libcrypto.so so try adding it to the linker command line
> /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libcrypto.so: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[3]: *** [traffic_manager] Error 1
> make[3]: Leaving directory `/«PKGBUILDDIR»/cmd/traffic_manager'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/«PKGBUILDDIR»/cmd'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/«PKGBUILDDIR»'
> dh_auto_build: make -j1 returned exit code 2
> make: *** [binary-arch] Error 2
> {code}
> [1] https://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries
> [2] https://wiki.ubuntu.com/NattyNarwhal/ToolchainTransition



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)