Re: [opendbx] Problems generating .deb
Brought to you by:
nose
From: Norbert S. <no...@li...> - 2008-02-03 22:54:00
|
Hi Mariano > Yes. I recompiled my application, but happends the same. > But it doesn't matter. Its something in my pc. I made symbolic links and > thats all. That may solve your problem on your local PC but I fear that you get the same problem if you copy your test binary application to another PC. The problem is that there's still referencing something the /usr/local/lib/ instead of /usr/lib/ - maybe you will find out later what it is. If you build the .deb package on another PC (not using "make install" before) and compile the test it will work for sure. > Norbert: i want to explain you what i understand about .deb with openDBX so > that you tell me if i am correct or not. > > When i generate a .deb, for example for mysql, i need to have openDBX > compiled and installed. To to this, i also need to have mySQL installed in > that pc. Now, i can give someone this .deb and he will be able to use > openDBX with mysql without having mySQL installed in the pc (pointing to > other ip, not localhost) . You don't need the OpenDBX library or the headers compiled or installed to build the .deb packages as they are generated from the source .tar.gz. For your required database backend you need the header files and client library for this database - you don't need the server package. You can give the generated .deb packages to another user who's using the same distribution and version. He only needs the database client library in addition (not the headers and not the server). > So, supouse i have a special db server (PC 1) with oracle and an > application that uses openDBX (PC2) i don't need to have installed Oracle > in PC2. I just need a .deb generated for oracle. How i obtain my .deb for > oracle, is another problem. No, you don't need the Oracle server on PC2 but you need the Oracle client library on PC2 for the communication between PC2 and the Oracle server on PC1. Here the software stack on PC2 and how they depend on (Oracle as example): Your Application ------------------------- OpenDBX library ------------------------- OpenDBX oracle backend ------------------------- Oracle client library Norbert -- OpenPGP public key http://www.linuxnetworks.de/norbert.pubkey.asc |