Sponsored Content
Operating Systems BSD FreeBSD: /usr/bin/ld not looking in /usr/local/lib Post 302930621 by Don Cragun on Tuesday 6th of January 2015 02:46:35 AM
Old 01-06-2015
Quote:
Originally Posted by AntumDeluge
... ... ...
Am I mistaken in thinking that /usr/local/lib is a standard directory for linking to shared libraries in FreeBSD?
... ... ...
Yes.

/usr/local/lib is a conventional place to add local libraries, but it is not a default location for any FreeBSD supplied libraries. And, it is not a directory that is searched by default by ld.
This User Gave Thanks to Don Cragun For This Post:
 

9 More Discussions You Might Find Interesting

1. Programming

/usr/bin/ld: warning: libgfortran.so.1, needed by /opt/openmpi/lib/libmpi_f90.so, may

hello, i get these warnings on make(ing) /usr/bin/ld: warning: libgfortran.so.1, needed by /opt/openmpi/lib/libmpi_f90.so, may conflict with libgfortran.so.3 /usr/bin/ld: warning: libgfortran.so.1, needed by /usr/lib/gcc/x86_64-redhat-linux6E/4.3.2/../../../liblapack.a, may conflict with... (1 Reply)
Discussion started by: sreekar
1 Replies

2. Solaris

How do I link ld in /usr/ucb/ to /usr/ccs/bin?

Hi all, below is the problem details: ora10g@CNORACLE1>which ld /usr/ucb/ld ora10g@CNORACLE1>cd /usr/ccs/bin ora10g@CNORACLE1>ln -s /usr/ucb/ld ld ln: cannot create ld: File exists ora10g@CNORACLE1> how to link it to /usr/ccs/bin? (6 Replies)
Discussion started by: SmartAntz
6 Replies

3. Solaris

Questions about /usr/local/bin & scripts.

Hi gentlemen. For what intended is the directory /usr/local/bin? In this directory are some script. I don't understand how these scripts being in this directory are started. Each time after registration of the user occurs start of these scripts. These scripts start applications. (7 Replies)
Discussion started by: wolfgang
7 Replies

4. UNIX for Dummies Questions & Answers

/usr/local/lib is not searched by ld-linux.so by default?

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)
Discussion started by: vistastar
6 Replies

5. OS X (Apple)

When to use /Users/m/bin instead of /usr/local/bin (& whats the diff?)?

Q1. I understand that /usr/local/bin means I can install/uninstall stuff in here and have any chance of messing up my original system files or effecting any other users. I created this directory myself. But what about the directory I didn't create, namely /Users/m/bin? How is that directory... (1 Reply)
Discussion started by: michellepace
1 Replies

6. AIX

/usr/local/bin/cvs: Not found

I can able to access /usr/local/bin/cvs in the terminal (AIX 6.1 Box). but i am getting the "/usr/local/bin/cvs: Not found " when i call it from the script. please some one assist me what maybe problem (6 Replies)
Discussion started by: hifirockz
6 Replies

7. UNIX for Dummies Questions & Answers

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... (4 Replies)
Discussion started by: slugger415
4 Replies

8. Shell Programming and Scripting

/usr/local/bin/expr function not working

Legends, I am not able to set "expr" function in ksh script. Below is the sample code i used, and output is as "Syntax error" Please help me to come out of it. OUTPUT (9 Replies)
Discussion started by: sdosanjh
9 Replies

9. Solaris

How to link sed from /usr/bin/sed to /usr/local/bin/sed?

Hi Guys, OS:- Solaris 10 64Bit I have a small query. On one server a user is facing sed command issue. He gets error regarding sed for this location /users/hoy/2999/batch5/bin/internal.sh: /usr/local/bin/sed: not found How ever the sed is actually present at this location on server:-... (13 Replies)
Discussion started by: manalisharmabe
13 Replies
PLXLOAD(1p)						User Contributed Perl Documentation					       PLXLOAD(1p)

NAME
plxload - show what files a perl program loads at compile time SYNOPSYS
$ plxload DESCRIPTION
This program is used to show what modules a program would load at compile time via "use". Because this installs an at-exit handler and then uses Perl's -c flag for compile only, it will not find modules loaded at run-time. Use the Devel::Loaded module for that. EXAMPLES
$ plxload perldoc /usr/local/devperl/lib/5.00554/Exporter.pm /usr/local/devperl/lib/5.00554/strict.pm /usr/local/devperl/lib/5.00554/vars.pm /usr/local/devperl/lib/5.00554/i686-linux/Config.pm /usr/local/devperl/lib/5.00554/Getopt/Std.pm $ plxload /usr/src/perl5.005_54/installhtml /usr/local/devperl/lib/5.00554/Carp.pm /usr/local/devperl/lib/5.00554/Exporter.pm /usr/local/devperl/lib/5.00554/auto/Getopt/Long/autosplit.ix /usr/local/devperl/lib/5.00554/strict.pm /usr/local/devperl/lib/5.00554/vars.pm /usr/local/devperl/lib/5.00554/Pod/Functions.pm /usr/local/devperl/lib/5.00554/Getopt/Long.pm /usr/local/devperl/lib/5.00554/i686-linux/Config.pm /usr/local/devperl/lib/5.00554/lib.pm /home/tchrist/perllib/Pod/Html.pm /usr/local/devperl/lib/5.00554/Cwd.pm /usr/local/devperl/lib/5.00554/AutoLoader.pm SEE ALSO
Devel::Loaded and pmload(1). AUTHORS and COPYRIGHTS Copyright (C) 1999 Tom Christiansen. Copyright (C) 2006-2008 Mark Leighton Fisher. This is free software; you can redistribute it and/or modify it under the terms of either: (a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or (b) the Perl "Artistic License". (This is the Perl 5 licensing scheme.) Please note this is a change from the original pmtools-1.00 (still available on CPAN), as pmtools-1.00 were licensed only under the Perl "Artistic License". perl v5.10.1 2010-02-22 PLXLOAD(1p)
All times are GMT -4. The time now is 12:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy