1

I have a local DLL which I want to shadow the system one. How do i do that?

Specifically (on linux):

/usr/bin/clang++ -o vw main.o -L. -l vw -l allreduce -L /usr/lib -L /usr/lib/x86_64-linux-gnu -l boost_program_options -l pthread -l z

but then

$ ldd vowpalwabbit/vw
        libvw.so => /usr/lib64/libvw.so (0x00007ffa22789000)

and I want it to point to ./libvw.so instead

sds
  • 58,617
  • 29
  • 161
  • 278

1 Answers1

0

Afaik the parameter is -nostdlib, but I only used it with plain C.

See also Clang produces crashing code with -nostdlib

Community
  • 1
  • 1
Marco van de Voort
  • 25,628
  • 5
  • 56
  • 89