Forum > Unix

libsqlite3.so vs libsqlite3.a

(1/7) > >>

Pascal:
My app uses SQLite3Conn. When cross compiling to powerpc64-aix it tries to link libsqlite3.a although only libsqlite3.so
is availabel. How can i enable dynamic linking here?

Pascal:
I added -XD to "Custom Options" but linker still complains:


--- Code: Text  window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---Hint: (11030) Start of reading config file C:\freepascal\fpc\trunk\bin\i386-win32\fpc.cfgHint: (11031) End of reading config file C:\freepascal\fpc\trunk\bin\i386-win32\fpc.cfgFree Pascal Compiler version 3.3.1 [2018/10/24] for powerpc64Copyright (c) 1993-2018 by Florian Klaempfl and others(1002) Target OS: AIX for PowerPC64(3104) Compiling susMake.lpr(9009) Assembling susmake(9015) Linking C:\freepascal\projects\susMake\susmakeC:\freepascal\fpc\trunk\bin\i386-win32\powerpc64-aix-ld.exe: cannot find -lsqlite3C:\freepascal\projects\susMake\susMake.lpr(30,44) Error: (9013) Error while linkingC:\freepascal\projects\susMake\susMake.lpr(30,44) Fatal: (10026) There were 1 errors compiling module, stoppingFatal: (1018) Compilation aborted

Pascal:
I also tried to add option "-dy", "-Bdynamic" to linker. No success.

marcov:
Did you double check that the files are for the correct architecture (IOW power64 ?)

Pascal:

--- Quote from: marcov on October 24, 2018, 10:44:21 am ---Did you double check that the files are for the correct architecture (IOW power64 ?)

--- End quote ---
Don't know. libsqlite3.so could by 32bit. How can i check this?

Navigation

[0] Message Index

[#] Next page

Go to full version