Ld Library Not Found For Root Mac

Hi all,
this problem is probably more related with mono than Xamarin but generaly I need to know how to use a .NET dll onto Xamarin using Mono on OS X.
I've done the documentation research, but the problem is to complex to me to fill the gaps and understand what to do.

What?
I'm trying to use LibUsbDotNet with in C# program.

Ld Library Not Found For Root Mac Os

ForLd library not found for root mac download

« Previous « Start » Next » 5 Setting environment variables. On Windows, TOMLAB requires the directory tomlab/shared to be included in the environment variable PATH. On Linux, TOMLAB requires the tomlab/shared folder to be present in the LDLIBRARYPATH environment variable. Stack Exchange Network. Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. Visit Stack Exchange. Jul 07, 2006  Hi,I try to compile a c program and have to link it with a fortran library which needs the ifcore library from ifort. I do the following which should work (afaik)$ icpc -O3 -xP -axP -no-ipo -o blub blub.o fortlib.a -lifcoreld: cannot find -lifcore. I installed git 1.7.4.4 long time ago. And I want to upgrade to git 1.7.11. However, when I run sudo make prefix=/usr/local install it gives this error: ld: library not found for -lintl.

  • How do I install libusbx library. Echo 'Not running as root but Sony/SonyEriccson Vendor ID found on your udev rules' echo 'if Flashing didn't work well, run.
  • Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features.

Ld Library Not Found For Root Machine

I'm using:
OS X; Xamarin; Mono; C#; LibUsbDotNet

Problem:
I've run LibUsbDotNet examples on Xamarin but have this problem:
'libusb-1.0 library not found. This is often an indication that libusb-1.0 was installed to '/usr/local/lib' and mono.net is not looking for it there. To resolve this, add the path '/usr/local/lib' to '/etc/ld.so.conf' and run 'ldconfig' as root. (http://www.mono-project.com/DllNotFoundException)'

Not

Ld Library Not Found For Root Mac Download

What I know:
$ ls -la /usr/local/lib
-rwxr-xr-x 1 root wheel 103260 22 Nov 2014 libusb-0.1.4.dylib
lrwxr-xr-x 1 fmendes admin 46 18 Jun 00:56 libusb-1.0.0.dylib -> ../Cellar/libusb/1.0.19/lib/libusb-1.0.0.dylib
lrwxr-xr-x 1 fmendes admin 40 18 Jun 00:56 libusb-1.0.a -> ../Cellar/libusb/1.0.19/lib/libusb-1.0.a
lrwxr-xr-x 1 fmendes admin 44 18 Jun 00:56 libusb-1.0.dylib -> ../Cellar/libusb/1.0.19/lib/libusb-1.0.dylib
-rw-r--r-- 1 root wheel 113088 22 Nov 2014 libusb.a
lrwxr-xr-x 1 root wheel 18 31 Ago 02:22 libusb.dylib -> libusb-0.1.4.dylib
-rwxr-xr-x 1 root wheel 912 22 Nov 2014 libusb.la
-rwxr-xr-x 1 root wheel 103888 22 Nov 2014 libusbpp-0.1.4.dylib
-rw-r--r-- 1 root wheel 103608 22 Nov 2014 libusbpp.a
lrwxr-xr-x 1 root wheel 20 31 Ago 02:22 libusbpp.dylib -> libusbpp-0.1.4.dylib
-rwxr-xr-x 1 root wheel 949 22 Nov 2014 libusbpp.la
drwxr-xr-x 4 fmendes admin 136 31 Ago 02:22 pkgconfig

What I don't know:
The documentation tells how to solve on Linux'...add the path '/usr/local/lib' to '/etc/ld.so.conf' and run 'ldconfig' as root....'
but I don't know how to do it on OS X...

Ld Library Not Found For Root Machines

thanks in advance
fmendes

Comments are closed.