Ragnar Thomsen wrote:
> So I added Amarok2 which requires a MySQL embedded server library
> (libmysqld.{a,so}). MySQL 5.5 builds a static library when passed the
> -DWITH_EMBEDDED_SERVER=ON option, but Amarok2 fails to build with the
> static version. MySQL 5.5 is unable to build a shared version, so I
> added a patch to fix this.
> 
> I noticed that the current MySQL instructions only install static
> versions of the client library (libmysqlclient.a). If
> "SharedLibraries" is added to the SEGMENTS variable, a shared client
> library will be installed.
> 
> Should the MySQL instructions be modified to install the shared
> client library or is this unnecessary?

Yes, I think it is necessary.  In my last job, I was working on a 
program that was heavily dependent on mysqlclient and the shared library 
was very important.  I suspect other programs that have mysql as a 
dependency would use the shared library more than the static library.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to