安裝中文字典英文字典辭典工具!
安裝中文字典英文字典辭典工具!
|
- library-specs(7) - OpenBSD manual pages
However, distinct ports may install different major versions of the same library in usr local lib, and disambiguate the build by creating a link in a separate directory, and specifying the right options to the linker These libraries will require a path component in the corresponding WANTLIB to make sure the right library is resolved
- 6. 3. Shared Libraries - people. freebsd. org
If the port installs one or more shared libraries, define a USE_LDCONFIG make variable, which will instruct a bsd port mk to run ${LDCONFIG} -m on the directory where the new library is installed (usually PREFIX lib) during post-install target to register it into the shared library cache This variable, when defined, will also facilitate addition of an appropriate @exec sbin ldconfig -m and
- How do you specify the location of libraries to a binary? (linux)
(LD_LIBRARY_PATH also applies to many other unices, including FreeBSD, NetBSD, OpenBSD, Solaris and Tru64 HP-UX has SHLIB_PATH and Mac OS X has DYLD_LIBRARY_PATH etc ld so conf has analogs on most unices but the location and syntax differs more widely )
- OpenBSD Ports: Special Porting Topics
Trying to rename the library after the fact to adjust the version number does not work: ELF libraries use some extra magic to set the library internal name, so you must link it with the correct version the first time On the other hand, remember that you can override Makefile variables from the command line, by using MAKE_FLAGS in the port's
- LDCONFIG(8) - System Managers Manual | OpenBSD Handbook
It scans a set of built-in system directories and any directories specified on the command line (in the given order) looking for shared libraries and stores the results in the file var run ld so hints to forestall the overhead that would otherwise result from the directory search operations ld so(1) would have to perform to load the required
- ldconfig(8) - FreeBSD
It scans a set of built-in system direc- tories and any directories specified on the command line (in the given order) looking for shared libraries and stores the results in the file var run ld so hints to forestall the overhead that would otherwise re- sult from the directory search operations ld so would have to per- form to load the
- The header file and library search path of cc on OpenBSD
So if you want to include other header file or link libraries in other directory, you need to specify it explicitly For example: # cc -I usr local include -L usr local lib
- 15 - The OpenBSD packages and ports system - MIK
This porting effort can involve many different things Examples are: making the software use the standard OpenBSD directory layout (e g configuration files go into etc), conforming to OpenBSD's shared library specifications, making the software more secure whenever possible, etc
|
|
|