{"action":"created","issue":{"url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/1060","labels_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/1060/labels{/name}","comments_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/1060/comments","events_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/1060/events","html_url":"https://github.com/FreeRADIUS/freeradius-server/issues/1060","id":88532552,"number":1060,"title":"relocation R_X86_64_PC32 against undefined symbol when building from source. ","user":{"login":"toddtop","id":12769505,"avatar_url":"https://avatars.githubusercontent.com/u/12769505?v=3","gravatar_id":"","url":"https://api.github.com/users/toddtop","html_url":"https://github.com/toddtop","followers_url":"https://api.github.com/users/toddtop/followers","following_url":"https://api.github.com/users/toddtop/following{/other_user}","gists_url":"https://api.github.com/users/toddtop/gists{/gist_id}","starred_url":"https://api.github.com/users/toddtop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddtop/subscriptions","organizations_url":"https://api.github.com/users/toddtop/orgs","repos_url":"https://api.github.com/users/toddtop/repos","events_url":"https://api.github.com/users/toddtop/events{/privacy}","received_events_url":"https://api.github.com/users/toddtop/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-15T20:33:19Z","updated_at":"2015-06-15T20:47:05Z","closed_at":"2015-06-15T20:47:04Z","body":"I'm trying to build version 3.0.8 from source following these instruction from the web site:\r\n\r\n    tar zxvf freeradius-<version>.tar.gz\r\n    ./configure\r\n    make\r\n    su - root\r\n    make install\r\n\r\nI get this error:\r\n\r\n/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libcrypto.a(md4_dgst.o): relocation R_X86_64_PC32 against undefined symbol `memset@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC\r\n/usr/bin/ld: final link failed: Bad value\r\ncollect2: error: ld returned 1 exit status\r\nmake: *** [build/lib/local/libfreeradius-radius.la] Error 1\r\n\r\nWhere should I put the -fPIC option?\r\nI've searched the web, and people have been having this issue for years, but I don't see a solution that works for me. \r\nI don't care about 32 bit or 64 bit mode. I just want it to compile.\r\n\r\nWhat should I try?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/comments/112206078","html_url":"https://github.com/FreeRADIUS/freeradius-server/issues/1060#issuecomment-112206078","issue_url":"https://api.github.com/repos/FreeRADIUS/freeradius-server/issues/1060","id":112206078,"user":{"login":"alandekok","id":17612,"avatar_url":"https://avatars.githubusercontent.com/u/17612?v=3","gravatar_id":"","url":"https://api.github.com/users/alandekok","html_url":"https://github.com/alandekok","followers_url":"https://api.github.com/users/alandekok/followers","following_url":"https://api.github.com/users/alandekok/following{/other_user}","gists_url":"https://api.github.com/users/alandekok/gists{/gist_id}","starred_url":"https://api.github.com/users/alandekok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alandekok/subscriptions","organizations_url":"https://api.github.com/users/alandekok/orgs","repos_url":"https://api.github.com/users/alandekok/repos","events_url":"https://api.github.com/users/alandekok/events{/privacy}","received_events_url":"https://api.github.com/users/alandekok/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T20:47:04Z","updated_at":"2015-06-15T20:47:04Z","body":"Your system has libcrypto.a, but not libcrypto.so.\r\n\r\nStatic linking is not supported.\r\n\r\nUse shared libraries."}}