can you check if/where libs were created during a make

Hi,

New to linux as many of you probably know. I downloaded the following opensource library:

    http://www.unixodbc.org/

I followed the install directions, they were typical as far as I can tell (./config, make, make install). Everything went ok, but I'm guessing that a static or shared library should have been created as a result - I just don't know where it was placed. I already compiled some other libraries that placed the shared/static libraries in different places on my system. If a lib was created, is there anyway to figure out where it was put? I don't see it in the install readme docs.

Thanks
DJ_AM_JuiceboxAsked:
Who is Participating?
 
jkrCommented:
BTW, why don't you issue a

find / -name "libodbx.so" - exec ls -l {} \;

to check the creation date or a

$ make clean
$ make install

to ensure a rebuild (if necessary)?
0
 
jkrCommented:
Um, you should be able to figure out the location by examining the 'install' target in the makefine.

Apart from that, just running 'make' to receice an 'up-to-date' message should serve the same purpose...
0
 
DJ_AM_JuiceboxAuthor Commented:
ehhh ok I just ran 'make' again and get messages like:

make[2]: Entering directory '/usr/lib/unixODBC-2.2.12/DRVConfig/Oracle'
make[2]: Nothing to be done for 'all'.

Is there supposed to be something like "created libodbc.so' anywhere in there?

Thanks
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
jkrCommented:
Yup, that's make's polite way of informing you that the call was succesful yet unnecessary, since the build target already exists.
0
 
jkrCommented:
Argh, make that

find / -name "libodbc.so" - exec ls -l {} \;
0
 
DJ_AM_JuiceboxAuthor Commented:
ok jkr i will give it a try tomorrow morning, thnks for all your help as usual
0
 
Infinity08Commented:
It should be placed in one of the standard lib paths (likely /usr/lib), or in a specific lib path (try /usr/local/unixODBC/lib), and will have a name like libodbc.a (for static) or libodbc.so (for dynamic).

Other files will be placed in the bin, include and possible etc directories (at the same level as the lib).

In any case, you should be able to link your application to it by using the -lodbc compiler flag.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.