DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2010-12-16 17:16:17

stefanth
Member
Registered: 2010-12-14
Posts: 63

libc.so.6 and can't handle reloc type 0x13

Dear Sir or Madame

I am trying to build a software on my NAS (DNS-320) and have downloaded all needed packages and libraries
to be able to build directly on the NAS with fun_plug version 0.5

My project is to try to build library mcrypt.so.

I have come so far that I am able to build the libmcyprt.so libraries but hit the wall when trying to build mcrypt.so.

when running the configure script for mcrypt

Code:

./configure with_libmcrypt_prefix=/usr/local --host=arm-unknown-linux-uclibc

The error occur when the configure program tries to create and compile a test program to test the libmcrypt.so.
The compilation fails because it can not find the library libc.so.6, however there is one in the directory /lib.

a quick change to the LD_LIBRARY_PATH like this

Code:

export LD_LIBRARY_PATH=/ffp/lib:/usr/local/lib:/lib

fixes the compilation but when executing the test program it returns

Code:

./conftest: can't handle reloc type 0x13

internally the ./configure program compile the conftest.c file with the following

Code:

arm-unknown-linux-uclibc-gcc -o conftest -g -O2 -I/usr/local/include   conftest.c  -L/usr/local/lib -lmcrypt

Please help me here, I assume it is wrong to use the libc in /lib, or I am using the wrong compiler ?


Regards Stefan

Offline

 

#2 2010-12-19 16:35:00

stefanth
Member
Registered: 2010-12-14
Posts: 63

Re: libc.so.6 and can't handle reloc type 0x13

Dear Sir or Madame

This have now been solved by deinstall and reinstall the make and m4 packages


Regards

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB