[ptx] [partially SOLVED: wrapper script for i386_chroot] Still an issue (just curious): Problems to link 32bit libs in x86_64 arch

Gerhard Gaussling ggrubbish at web.de
Sun Nov 6 23:32:57 GMT 2005


Am Samstag 05 November 2005 22:18 schrieb Gerhard Gaussling:
> ~$ cat /usr/local/bin/PTStitcher
>
> #!/bin/bash
> dchroot -c i386_chroot -d PTStitcher $1 $2 $3 $4
> exit
>
> I'm stil interested in how to link the lacked 32bit lib the right way
> in a amd64 environment.
Dennis Kaarsemaker from ubuntu-user pointed me to the bash manpage
From the bash manpage:
      @      Expands  to  the  positional  parameters, starting from 
             one.  

#!/bin/bash
 dchroot -c i386_chroot -d PTStitcher "$@"
 exit

That works now! As I said: I'm not a good scripter ;-).

But I'm still curious about the ldconfig ldd linking stuff ...
Any insights?

Kind regards

Gerhard Gaußling


More information about the ptx mailing list