I don't remember if you use libtool. If not, Samuel may consider modifying
libdbi to utilize libtool, which what should not be too hard. As of my
understanding (never actually tried it), libtool provides full flexibility in
deciding if dynamic or static linking is used.

Rainer

> -----Original Message-----
> From: Markus Hoenicka [mailto:markus.hoeni...@mhoenicka.de]
> Sent: Friday, January 14, 2011 12:57 AM
> To: libdbi-users@lists.sourceforge.net
> Subject: Re: [libdbi-users] dynamic loading
> 
> Quoting "DeLuca, Samuel Louis" <samuel.l.del...@vanderbilt.edu>:
> 
> > Hello,
> >
> > Is there any way of compiling libdbi without a dynamic loader?  If
> > not, is there any reason why it would be a bad idea for me to write
> > a patch to make it possible to dynamically link in drivers instead
> > of using dynamic loading?
> 
> Hi,
> 
> at this time there is no such option. The benefit of dlopen()ing the
> drivers instead of linking them in is that you don't have to recompile
> libdbi in order to install drivers. This makes it convenient for
> package or port systems to ship individual drivers separately from the
> library. I can't judge though whether your idea is technically
> feasible.
> 
> regards,
> Markus
> 
> 
> --
> Markus Hoenicka
> http://www.mhoenicka.de
> AQ score 38
> 
> 
> 
> -----------------------------------------------------------------------
> -------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> libdbi-users mailing list
> libdbi-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/libdbi-users

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users

Reply via email to