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
iodbc-config(1) 					       iODBC Driver Manager						   iodbc-config(1)

NAME
iodbc-config - script to get information about the installed version of iODBC SYNOPSIS
iodbc-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--libs] [--static-libs] [--libtool-libs] [--odbcini] [--odbcin- stini] DESCRIPTION
iodbc-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link pro- grams that use iODBC. OPTIONS
iodbc-config accepts the following options: --version Print the currently installed version of iODBC on the standard output. --cflags Print the compiler flags that are necessary to compile an iODBC program. --libs Print the linker flags that are necessary to link an iODBC program using dynamic libraries (if supported). --static-libs Print the linker flags that are necessary to link an iODBC program using static libraries. --libtool-libs Print the linker flags that are necessary to link an iODBC program in a libtool environment. --odbcini Print the path of the system wide odbc.ini file. --odbcinstini Print the path of the system wide odbcinst.ini file. --prefix[=PREFIX] If specified, use PREFIX instead of the installation prefix that iODBC 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 or --cflags options. If PREFIX is not specified, the --prefix flag shows where iODBC is currently installed. --exec-prefix=PREFIX If specified, use PREFIX instead of the installation exec prefix that iODBC was built with when computing the output for the --cflags and --libs options. This option must be specified before any --libs or --cflags options. EXAMPLES
To compile a program that calls the iODBC API, make sure the iodbc-config program can be found in the PATH environment variable, before using the following Makefile fragment: CFLAGS=`iodbc-config --cflags` LDLIBS=`iodbc-config --libs` iodbctest: iodbctest.c cc $(CFLAGS) -o iodbctest iodbctest.c $(LDLIBS) COPYRIGHT
Copyright (C) 1996-2009 by OpenLink Software AUTHOR
iODBC Administrator <iodbc@openlinksw.com> 3.52.7 16 June 2004 iodbc-config(1)
All times are GMT -4. The time now is 06:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy