[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Question: libdl.so - Plus More


   I am in the process of attempting to build/compile iptables-1.2.6+ unto an linux-arm base platform

(linux 2.4.19), supporting IXP425 architecture.


When attempting to compile any of the arm base iptables packages, the below error is


$ make

Making dependencies: please wait...

Extensions found:





arm-linux-ld -shared -o extensions/libipt_SNAT.so extensions/libipt_SNAT_sh.o

arm-linux-gcc -O2 -Wall -Wunused -I/usr/src/arm/kernel/include -Iinclude/ -DNETFILTER_VERSION=\"1.2.6a\"  -fPIC -o extensions/libipt_UL

OG_sh.o -c extensions/libipt_ULOG.c

arm-linux-ld -shared -o extensions/libipt_ULOG.so extensions/libipt_ULOG_sh.o

arm-linux-gcc -O2 -Wall -Wunused -I/usr/src/arm/kernel/include -Iinclude/ -DNETFILTER_VERSION=\"1.2.6a\"  -fPIC -o extensions/libipt_ip

limit_sh.o -c extensions/libipt_iplimit.c

arm-linux-ld -shared -o extensions/libipt_iplimit.so extensions/libipt_iplimit_sh.o

arm-linux-gcc -O2 -Wall -Wunused -I/usr/src/arm/kernel/include -Iinclude/ -DNETFILTER_VERSION=\"1.2.6a\"  -DIPT_LIB_DIR=\"/usr/src/arm/

iptables-1.2.6a/PREFIX/lib/iptables\" -c -o iptables.o iptables.c

arm-linux-gcc -O2 -Wall -Wunused -I/usr/src/arm/kernel/include -Iinclude/ -DNETFILTER_VERSION=\"1.2.6a\"    -c -o libiptc/libip4tc.o li


arm-linux-ar rv libiptc/libiptc.a libiptc/libip4tc.o

a - libiptc/libip4tc.o

arm-linux-gcc -O2 -Wall -Wunused -I/usr/src/arm/kernel/include -Iinclude/ -DNETFILTER_VERSION=\"1.2.6a\"  -DIPT_LIB_DIR=\"/usr/src/arm/

iptables-1.2.6a/PREFIX/lib/iptables\" -rdynamic -o iptables iptables-standalone.c iptables.o libiptc/libiptc.a -ldl

/usr/local/varmbe-linux/arm-linux/lib/libdl.so: could not read symbols: Invalid operation

collect2: ld returned 1 exit status

make: *** [iptables] Error 1

rm libiptc/libip4tc.o



  1. How can this particular problem be resolved (i.e., what steps can be taken)?
  2. If required, where can I obtain the source code to build or rebuild these particular libraries? Particularily, libdl.so
    1. Are there other libraries required (i.e., dependencies, etc.) to be incorporated in build process?
  3. My goal is to incorporate iptables in current platform…
    1. Is there an iptables ARM package available to build and compile unto platform as described above?
  4. Have also attempted to also use various other ARM rpm binary sources (ex. libipt_MASQUERADE.so, etc.).
    1. When attempt to load module, the following response is detected:

insmod libipt_MASQUERADE.so

Using libipt_MASQUERADE.so

insmod: ELF file not for this architecture

insmod: Could not load the module: Success


I am new to this arena in building and compiling software packages of this type. If there is other information/data that

you require in order to provide more accurate feedback, please let me know and I will respond immediately.


Your input and assistance to this issue will be greatly appreciated.


Thanking you in advance for your immediate response.





Reply to: