From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?Miguel_=C1ngel_=C1lvarez_Cabanes?= Subject: Embedded and NO_SHARED_LIBS Date: Tue, 14 Jun 2005 16:16:12 +0200 Message-ID: <1118758572.4478.166.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: Content-Class: urn:content-classes:message List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="iso-8859-1" To: netfilter@lists.netfilter.org Hi to all I am working on an embedded system using kernel 2.6.10 and iptables 1.3.0. I build iptables using NO_SHARED_LIBS=3D1 and everything went ok. Now, as I required iptables "to be smaller", I am trying to build it using shared libraries. It compiles without problem, and seems to link with the shared libraries (at least it does not show linking errors)... I can also see nat and filter tables with -L However, when I try to introduce a rule, it does not work, although it worked when static linking. For example: ~ # iptables -t nat -A POSTROUTING -j MASQUERADE iptables v1.3.0: Couldn't load target `MASQUERADE':File not found Try `iptables -h' or 'iptables --help' for more information. Any ideas Thanks for all Miguel =C1ngel=20 =20 ----------------------------------------- PLEASE NOTE = ------------------------------------------- This message, along with any attachments, may be confidential or legally = privileged.=20 It is intended only for the named person(s), who is/are the only = authorized recipients. If this message has reached you in error, kindly destroy it without = review and notify the sender immediately. Thank you for your help. =B5SysCom uses virus scanning software but excludes any liability for = viruses contained in any attachment. =20 ------------------------------------ ROGAMOS LEA ESTE TEXTO = ------------------------------- Este mensaje y sus anexos pueden contener informaci=F3n confidencial y/o = con derecho legal.=20 Est=E1 dirigido =FAnicamente a la/s persona/s o entidad/es rese=F1adas = como =FAnico destinatario autorizado. Si este mensaje le hubiera llegado por error, por favor elim=EDnelo sin = revisarlo ni reenviarlo y notif=EDquelo inmediatamente al remitente. = Gracias por su colaboraci=F3n. =20 =B5SysCom utiliza software antivirus, pero no se hace responsable de los = virus contenidos en los ficheros anexos.