Sponsored Content
Full Discussion: MkLinux, almost done
Operating Systems Linux MkLinux, almost done Post 40241 by Neo on Thursday 11th of September 2003 07:56:28 PM
Old 09-11-2003
Yes, because the lib???.a files are static libs that must be statically linked (normally when you compile).

lib????.so files are shared libs that are loaded at run time.

I forgot to mention this earlier, assuming you had shared libs and not static libs.

If you only have .a libs you can set your environmental variable to point to the directory that contains your static libs when you compile, OR move your static lib to a directory already in your LDPATH environmental variable.

Either way, you have to find a way to instruct your linker where to find the static library.

Are you compiling with GCC?

Neo
 

We Also Found This Discussion For You

1. Linux

MkLinux on a Performa 6320?

Has anyone ever done this before? It says its supported, but whenever I try to boot off the installation CD, it freezes. To be more specific, it starts to boot Mac OS, then it gets to the "choose your OS" window where you can choose to fully boot Mac or dissolve Mac OS and enter into Linux. When... (0 Replies)
Discussion started by: l008com
0 Replies
smpeg-config(1) 					      General Commands Manual						   smpeg-config(1)

NAME
smpeg-config - script to get information about the installed version of SMPEG SYNOPSIS
smpeg-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags] DESCRIPTION
smpeg-config is a tool that is used to determine the compiler and linker flags that should be used to compile and link programs that use SMPEG library. OPTIONS
--version Print the currently installed version of SMPEG on the standard output. --libs Print the linker flags that are necessary to link a SMPEG-using program. --library-libs Print the linker flags that are necessary to link a library that uses SMPEG. (This excludes any static objects required for link- ing, since these must be linked only by executable programs.) --plugin-libs Print the linker flags that are necessary to link an SMPEG-using object that is to be accessed via dlopen(3). This may include static objects with PIC symbol information. This option should not be used for ordinary shared libraries or standalone applica- tions. --cflags Print the compiler flags that are necessary to compile a SMPEG-using library or program. --prefix=PREFIX If specified, use PREFIX instead of the installation prefix that SMPEG was built with when computing the output for the --cflags and --libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified before any --libs, --library-libs, --plugin-libs or --cflags options. --exec-prefix=PREFIX If specified, use PREFIX instead of the installation exec prefix that SMPEG was built with when computing the output for the --cflags, --libs, --library-libs and --plugin-libs options. This option must be specified before any --libs, --library-libs, --plugin-libs or --cflags options. AUTHOR
The SDL MPEG Player Library was written by Karl Robillard and Sam Lantinga of Loki Entertainment Software. Please report any bugs and/or fixes to smpeg@lokigames.com. Streaming MPEG support was contributed by Vivien Chappelier. This manual page was written by Stefan Gybas <sgybas@debian.org> and modified by Joe Drew <drew@debian.org> and Branden Robinson <bran- den@debian.org> for the Debian GNU/Linux operating system, but may be used by others. smpeg-config(1)
All times are GMT -4. The time now is 06:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy