Macintosh build error: dyld: Library not loaded: /usr/local/lib/libpcre.0.dylib
Hi all, my first post here. I'm trying to load hypermail on my Mac (Tiger 10.4.11). It seemed to install just fine, but when I run the test build I get this error:
dyld: Library not loaded: /usr/local/lib/libpcre.0.dylib
Referenced from: /Users/sstark/Desktop/hypermail/tests/../src/hypermail
Reason: image not found
./testhm: line 162: 8506 Trace/BPT trap $HYPERMAIL -c test.rc -m $TESTMAIL
+ exit 1
I searched for libpcre.0.dylib and it wasn't found. Any idea what's up or what I can do to fix it?
Hi and welcome to the forum.
It seems like you are missing a lib that the program depends on. The lib is a dynamic one, meaning it is used at the runtime, that's why you didn't get an error during install. It is a library that provides Perl Compatible Regular Expressions. You can download it from here.
If you install this lib (and thus have the file libpcre.0.dylib somewhere on your machine) and still getting the error, it means that the file cannot be located. Environment variable DYLD_LIBRARY_PATH can be set to point to the location of the dynlib.
and then try to run the program.
The /usr directory is owned by root with root the only user that can write in that directory. You belong to the group admin which allows you to escalate privileges to root by using sudo. You need to->
I'm not sure if this is the default behavior for the ld command, but it does not seem to be looking in /usr/local/lib for shared libraries.
I was trying to compile the latest version of Kanatest from svn. The autorgen.sh script seems to exit without too much trouble:
$ ./autogen.sh
checking... (2 Replies)
Hi,
I want to use the function "v12n_domain_uuid" on solaris box. The library "libv12n" is present in /usr/lib but i can't locate the header "libv12n.h" anywhere in the box.
How do i run the API "v12n_domain_uuid" (4 Replies)
it seems that /usr/local/lib is not searched by ld-linux.so by default in fedora14.
If so, why some software put its lib files in /usr/local/lib? eg: glib and gtk+. (6 Replies)
Hi,
I always receive the following intermittent error on the /var/adm/messages, can someone help me please on what to do and what to check for these errors to disappear? What can be the problem with my ftp? Please see details of solaris below. Thanks in advance!
SunOS 5.10 Generic_127111-08... (4 Replies)
I have an X4500 server running solaris 10 and when I reboot my system it displays the following errors messages. Could someone help me with this ???
NOTICE: pci8086,1011 - e1000g : Adapter 100Mbps full duplex copper link is up.
Nov 8 17:41:46 /usr/lib/snmp/snmpdx: can't open the file
Nov 8... (2 Replies)
I am trying to install a scientific program onto my mac and when i try and execute it this error comes up and i cant find any literature on the net to fix it...
dyld: Library not loaded: /usr/local/lib/libgfortran.2.dylib
Referenced from:... (4 Replies)
Hello UNIX people. I was just cruising around my UFS and came across the directory /usr/lib/32. This directory continues up many directories (/usr/lib/32/32/32/32->). Each level of 32/ directory seems to be a copy of the previous one. I have been working with UNIX for a little while now, but I... (3 Replies)