After installing oracle 11g and adding its libraries to /etc/ld.so.conf.d I've run into
dbus-daemon: /usr/bin/dbus-daemon: symbol lookup error: /usr/bin/dbus-daemon: undefined symbol: XML_SetHashSalt
and the system locked out.
Solved by removing libexpat.so* from oracle libraries.
Related
I am trying to install PostGIS in Postgres-xl. Since the newest version of Postgres-XL (9.5r1.4) is based on PostgreSQL 9.5.5, I need to use an older version of PostGIS (2.3.1) due to compatibility issues.
Before PostGIS, I have installed the libgdal-dev, proj_api (ver. 4.9.1), and json-c (version 0.9). So, I successfully executed the PostGIS configure script using
./configure --with-projdir=/usr/local/
but when I tried to build PostGIS using
sudo make
the script returned the following errors:
/usr/bin/ld: ../../liblwgeom/.libs/liblwgeom.so: undefined reference to `pj_get_errno_ref'
/usr/bin/ld: ../../liblwgeom/.libs/liblwgeom.so: undefined reference to `pj_strerrno'
/usr/bin/ld: ../../liblwgeom/.libs/liblwgeom.so: undefined reference to `pj_transform'
I have tried many things, such as analysing the makefiles and manually copying files to correct the references, without success. I am running on a PC using Ubuntu 22.04, and need advice to perform this install process, or sugestions of other methods to put Postgres-XL and PostGIS together.
I am migrating an Oracle Database to Postgres and I wanted to install orafce which is a module that contains some useful function which can help with the porting.
I tried to execute the command "make install" but I got this error "collect2: fatal error: cannot find 'ld'"
gcc version : 4.8.5
binutils version : 2.25.1
I didn't find anything that corresponds to my situation anywhere.
Thank you
Your installation of binutils is broken.
Reinstall it with
yum reinstall binutils
You should figure out who changed the permissions. Maybe they did more damage than that.
New project uses regexp_replace, so i updated mysql installation to 8.0.3. But still feeling like nothing changed =)
Trivial query:
$ echo "select regexp_replace('a','.','z')" | mysql mysql
ERROR 1305 (42000) at line 1: FUNCTION mysql.regexp_replace does not exist
Version:
$ # mysqld --version
/usr/sbin/mysqld Ver 8.0.3-rc-log for Linux on x86_64 (MySQL Community Server (GPL))
REGEXP_REPLACE function was released in version 8.0.4, so updating to 8.0.12 solved the problem.
I am using wamp3 64bit, installed native client 12_1x64 but still got same error. Also enable the extention php_oci8_12c.dll in php.ini file but no success
Can anyone help me out, using oracle 12 in 64 bit OS
I am trying to connect to an Oracle database in Go using this package. I have both server and instantclient installed for both Oracle 11.2 and 12.1, and I'm following the instructions regarding the oci8.pc file. My operating system is Windows.
However, when I run "go get github.com/mattn/go-oci8" (or attempt to install a program that uses the package after having gotten the package's source code directly) I get this error:
# github.com/mattn/go-oci8
C:/oraclexe/app/oracle/product/11.2.0/server/oci/lib/MSVC/oci.lib: error adding symbols: File in wrong format
collect2.exe: error: ld returned 1 exit status
Does anyone know what the problem is and how to fix it?
Looks to be the same issue I had trying to install oci8. Are you using TDM_GCC? The problem for me was that TDM_GCC has a compiler / linker bug that prevents from compiling certain files. I used ming64 instead and it worked. You can see my detailed posts regarding that here:
https://github.com/mattn/go-oci8/issues/75