Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 143
  • Last Modified:

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
0
DJ_AM_Juicebox
Asked:
DJ_AM_Juicebox
  • 4
  • 2
1 Solution
 
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
 
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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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:
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now