pkgsrc-Users archive

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

Re: HOWTO: 32-bit pkgsrc on amd64




Hi,

On Mon, 15 Dec 2008, Jared D. McNeill wrote:
4. Until toolchain/40170 is resolved, the following changes are required for
  m32 ldscripts. For each /usr/libdata/ldscripts/elf_i386.* file, look for
  the line:

        SEARCH_DIR("/usr/x86_64--netbsd/lib");

  and change it to:

        SEARCH_DIR("/usr/x86_64--netbsd/lib"); SEARCH_DIR("/usr/lib/i386");

  The elf_i386.xc file will also require SEARCH_DIR("/usr/pkg32/lib"); in
  addition to the above two paths.

Thanks for the instruction! I have a question on the last part: is that really wanted? We don't automatically look in /usr/pkg/lib AFAIK, so why should we do different here? Instead, we go through quite some pain to fix packages to get the neccessary -L/-Wl,-R switches to find their libs in $LOCALBASE so this shouldn't be needed. At least this was last time I checked... :^)


 - Hubert


Home | Main Index | Thread Index | Old Index