tech-pkg archive

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

Re: Figuring out linking for Rust packages



On Tue, 5 Feb 2019 18:50:47 +0000
atomicules <base%atomicules.co.uk@localhost> wrote:

> I now see the what looks like the correct args getting sent through 
> to the linker, but still failing:
> 
> ```
> [...]
> "-Wl,-Bdynamic" "-lpulse" "-lpulse-simple" "-lc" "-lutil" "-lutil" 
> "-lpthread" "-lgcc_s" "-lm" "-lutil" "-
> lutil" "-Wl,-R/usr/pkg/lib" "-L/usr/pkg/lib"
>   = note: ld: cannot find -lpulse
>           ld: cannot find -lpulse-simple
> [...]
> ```

Unfortunately I couldn't reproduce the issue. Can you check in
${WRKDIR}/.work.log? On the last line, after the pkgsrc wrappers have
transformed the command line there should be something similar to:
-Wl,-rpath,/usr/pkg/lib -L/tmp/pkgsrc-obj/wip/spotifyd/work/.buildlink/lib

In this buildlink/lib directory there should be symlinks to libpulse.so.

(did you remember to make clean?)


Home | Main Index | Thread Index | Old Index