![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I need to connect library with external functions to the ASA. The library is created. But at run function from SQL I get this error: "Could not load dynamic library '/opt/lib/libcrc32.so'". What do I do not so? I do: 1) gcc -DUNIX -Wall -fPIC -c *.cpp 2) gcc -shared -Wl,-soname,libcrc32.so.1 -o libcrc32.so.1.0 *.o 3) mv libcrc32.so.1.0 /opt/lib 4) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so 5) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so.1 On SQL: 1) create function DBA.xp_crc32(in p long varchar) returns unsigned integer external name 'xp_crc32@/opt/lib/libcrc32.so' 2) select DBA.xp_crc32('TestString') P.S.Listing library attached. ASA 9.0.2. Linux 2.6.18-92.el5.asp121 x86_64. |
#2
| |||
| |||
|
|
I need to connect library with external functions to the ASA. The library is created. But at run function from SQL I get this error: "Could not load dynamic library '/opt/lib/libcrc32.so'". What do I do not so? I do: 1) gcc -DUNIX -Wall -fPIC -c *.cpp 2) gcc -shared -Wl,-soname,libcrc32.so.1 -o libcrc32.so.1.0 *.o 3) mv libcrc32.so.1.0 /opt/lib 4) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so 5) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so.1 On SQL: 1) create function DBA.xp_crc32(in p long varchar) returns unsigned integer external name 'xp_crc32@/opt/lib/libcrc32.so' 2) select DBA.xp_crc32('TestString') P.S.Listing library attached. ASA 9.0.2. Linux 2.6.18-92.el5.asp121 x86_64. |
#3
| |||
| |||
|
|
I need to connect library with external functions to the ASA. The library is created. But at run function from SQL I get this error: "Could not load dynamic library '/opt/lib/libcrc32.so'". What do I do not so? I do: 1) gcc -DUNIX -Wall -fPIC -c *.cpp 2) gcc -shared -Wl,-soname,libcrc32.so.1 -o libcrc32.so.1.0 *.o 3) mv libcrc32.so.1.0 /opt/lib 4) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so 5) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so.1 On SQL: 1) create function DBA.xp_crc32(in p long varchar) returns unsigned integer external name 'xp_crc32@/opt/lib/libcrc32.so' 2) select DBA.xp_crc32('TestString') P.S.Listing library attached. ASA 9.0.2. Linux 2.6.18-92.el5.asp121 x86_64. |
#4
| |||
| |||
|
|
I need to connect library with external functions to the ASA. The library is created. But at run function from SQL I get this error: "Could not load dynamic library '/opt/lib/libcrc32.so'". What do I do not so? I do: 1) gcc -DUNIX -Wall -fPIC -c *.cpp 2) gcc -shared -Wl,-soname,libcrc32.so.1 -o libcrc32.so.1.0 *.o 3) mv libcrc32.so.1.0 /opt/lib 4) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so 5) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so.1 On SQL: 1) create function DBA.xp_crc32(in p long varchar) returns unsigned integer external name 'xp_crc32@/opt/lib/libcrc32.so' 2) select DBA.xp_crc32('TestString') P.S.Listing library attached. ASA 9.0.2. Linux 2.6.18-92.el5.asp121 x86_64. |
#5
| |||
| |||
|
|
I need to connect library with external functions to the ASA. The library is created. But at run function from SQL I get this error: "Could not load dynamic library '/opt/lib/libcrc32.so'". What do I do not so? I do: 1) gcc -DUNIX -Wall -fPIC -c *.cpp 2) gcc -shared -Wl,-soname,libcrc32.so.1 -o libcrc32.so.1.0 *.o 3) mv libcrc32.so.1.0 /opt/lib 4) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so 5) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so.1 On SQL: 1) create function DBA.xp_crc32(in p long varchar) returns unsigned integer external name 'xp_crc32@/opt/lib/libcrc32.so' 2) select DBA.xp_crc32('TestString') P.S.Listing library attached. ASA 9.0.2. Linux 2.6.18-92.el5.asp121 x86_64. |
#6
| |||
| |||
|
|
I need to connect library with external functions to the ASA. The library is created. But at run function from SQL I get this error: "Could not load dynamic library '/opt/lib/libcrc32.so'". What do I do not so? I do: 1) gcc -DUNIX -Wall -fPIC -c *.cpp 2) gcc -shared -Wl,-soname,libcrc32.so.1 -o libcrc32.so.1.0 *.o 3) mv libcrc32.so.1.0 /opt/lib 4) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so 5) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so.1 On SQL: 1) create function DBA.xp_crc32(in p long varchar) returns unsigned integer external name 'xp_crc32@/opt/lib/libcrc32.so' 2) select DBA.xp_crc32('TestString') P.S.Listing library attached. ASA 9.0.2. Linux 2.6.18-92.el5.asp121 x86_64. |
#7
| |||
| |||
|
|
I need to connect library with external functions to the ASA. The library is created. But at run function from SQL I get this error: "Could not load dynamic library '/opt/lib/libcrc32.so'". What do I do not so? I do: 1) gcc -DUNIX -Wall -fPIC -c *.cpp 2) gcc -shared -Wl,-soname,libcrc32.so.1 -o libcrc32.so.1.0 *.o 3) mv libcrc32.so.1.0 /opt/lib 4) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so 5) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so.1 On SQL: 1) create function DBA.xp_crc32(in p long varchar) returns unsigned integer external name 'xp_crc32@/opt/lib/libcrc32.so' 2) select DBA.xp_crc32('TestString') P.S.Listing library attached. ASA 9.0.2. Linux 2.6.18-92.el5.asp121 x86_64. |
#8
| |||
| |||
|
|
I need to connect library with external functions to the ASA. The library is created. But at run function from SQL I get this error: "Could not load dynamic library '/opt/lib/libcrc32.so'". What do I do not so? I do: 1) gcc -DUNIX -Wall -fPIC -c *.cpp 2) gcc -shared -Wl,-soname,libcrc32.so.1 -o libcrc32.so.1.0 *.o 3) mv libcrc32.so.1.0 /opt/lib 4) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so 5) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so.1 On SQL: 1) create function DBA.xp_crc32(in p long varchar) returns unsigned integer external name 'xp_crc32@/opt/lib/libcrc32.so' 2) select DBA.xp_crc32('TestString') P.S.Listing library attached. ASA 9.0.2. Linux 2.6.18-92.el5.asp121 x86_64. |
#9
| |||
| |||
|
|
I need to connect library with external functions to the ASA. The library is created. But at run function from SQL I get this error: "Could not load dynamic library '/opt/lib/libcrc32.so'". What do I do not so? I do: 1) gcc -DUNIX -Wall -fPIC -c *.cpp 2) gcc -shared -Wl,-soname,libcrc32.so.1 -o libcrc32.so.1.0 *.o 3) mv libcrc32.so.1.0 /opt/lib 4) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so 5) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so.1 On SQL: 1) create function DBA.xp_crc32(in p long varchar) returns unsigned integer external name 'xp_crc32@/opt/lib/libcrc32.so' 2) select DBA.xp_crc32('TestString') P.S.Listing library attached. ASA 9.0.2. Linux 2.6.18-92.el5.asp121 x86_64. |
#10
| |||
| |||
|
|
I need to connect library with external functions to the ASA. The library is created. But at run function from SQL I get this error: "Could not load dynamic library '/opt/lib/libcrc32.so'". What do I do not so? I do: 1) gcc -DUNIX -Wall -fPIC -c *.cpp 2) gcc -shared -Wl,-soname,libcrc32.so.1 -o libcrc32.so.1.0 *.o 3) mv libcrc32.so.1.0 /opt/lib 4) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so 5) ln -sf /opt/lib/libcrc32.so.1.0 /opt/lib/libcrc32.so.1 On SQL: 1) create function DBA.xp_crc32(in p long varchar) returns unsigned integer external name 'xp_crc32@/opt/lib/libcrc32.so' 2) select DBA.xp_crc32('TestString') P.S.Listing library attached. ASA 9.0.2. Linux 2.6.18-92.el5.asp121 x86_64. |
![]() |
| Thread Tools | |
| Display Modes | |
| |