/usr/bin/ld: cannot find -llibeXosip2.so error

Jason Pernito jpernito@gmail.com
Wed Jun 10 07:33:00 GMT 2009


First, does libeXosip2.so exist in your /usr/local/lib? If so, try this:
gcc -lpthread sip.c -o sip -L/usr/local/lib/ -leXosip2

-jason

On Wed, Jun 10, 2009 at 3:26 PM, Andre Warnier<andrewarnier@gmail.com> wrote:
> Hi all ..
> I'm using "gcc -lpthread sip.c -o sip -L/usr/local/lib/ -llibeXosip2.so" to
> compile my code,
> But get the error msg :
>
> root@vinod:~# gcc -lpthread sip.c -o sip -L/usr/local/lib/ -llibeXosip2.so
> /usr/bin/ld: cannot find -llibeXosip2.so
> collect2: ld returned 1 exit status
>
>
> what's happening!
>
>
> Thanks & regards,
> anddre
>
>



-- 
"Regard your soldiers as your children,
  and they will follow you into the deepest valleys.
  Look on them as your beloved sons,
  and they will stand by you even unto death!"

  - Sun Tzu, the art of war



More information about the Gcc-help mailing list