[Mono-osx] upgrade sqlite3.dll to a custom build

oboesax oboesax at juno.com
Fri Dec 5 17:47:10 EST 2008


The first two commands execute successfully.  however, the "make install"
returns the following:

test -z "/usr/local/lib" ||
/Users/oboesax/Downloads/sqlite-3.6.6.2/install-sh -d "/usr/local/lib"
 /bin/sh ./libtool --mode=install /usr/bin/install -c  'libsqlite3.la'
'/usr/local/lib/libsqlite3.la'
/usr/bin/install -c .libs/libsqlite3.0.8.6.dylib
/usr/local/lib/libsqlite3.0.8.6.dylib
install: /usr/local/lib/libsqlite3.0.8.6.dylib: Permission denied
make[1]: *** [install-libLTLIBRARIES] Error 71
make: *** [install-am] Error 2

if I run it with "sudo make install" it appears to succeed.

I don't have a System.Data.SQLite.dll.config file, so I created one and put
in what you wrote, verbatim. and it Works!!

when I look in /usr/local/lib/ I still see libsqlite3.0.8.6.dylib... exactly
the same as before.  I am expecting to see libsqlite3.6.6.2.dylib but it is
nowhere to be found, although the libsqlite3.0.8.6 has a modified date of
today.

Is /usr/local/lib a directory that would be overwritten by mono/apple in the
future?
It looks like the only libraries in that directory are my libsqlite, libfuse
(possibly installed by Parallels), and libulockmgr (also likely
parallels-related)

my other question is this: is is possible to modify that .dll.config file
(or something else) so that I could copy the .dylib from /usr/local/lib into
{my program directory}/lib ? that way I could distribute this to my
colleagues and they wouldn't have to compile sqlite first... I think


slammens wrote:
> 
> - compile sqlite from source on OSX
> 
> CFLAGS="-Os -DSQLITE_ENABLE_COLUMN_METADATA" ./configure
> --prefix=/usr/local/
> make
> make install
> 
> - open System.Data.SQLite.dll.config and add the following:
> 
> <dllmap dll="sqlite3" target="./libsqlite3.0.dylib" os="!windows"/>
> 
> That did it for me!
> 
> 

-- 
View this message in context: http://www.nabble.com/upgrade-sqlite3.dll-to-a-custom-build-tp20668551p20863996.html
Sent from the Mono - OSX mailing list archive at Nabble.com.



More information about the Mono-osx mailing list