Visit Our UNIX and Linux User Community


Problems calling external C routines from PL/SQL


 
Thread Tools Search this Thread
Top Forums Programming Problems calling external C routines from PL/SQL
# 1  
Old 07-17-2002
Problems calling external C routines from PL/SQL

Hi everybody!

I'm not familiar with C programming in Unix, but I'm trying to make work an example to execute external procedures (developed in C) from PL/SQL.
The example includes .c and .pc source files, which I have compiled succesfully.
After that, links the .o files into .so to declare later as libraries in the Oracle database.

The problem appears when I try to execute this procedures (from PL), when a I get the error:

"Error loading external library"
"ORA-06522: ld.so.1: ORACLE_HOME/bin/extprocPLSExtProc: fatal:
relocation error: file /opt/mqm/lib/libmqm.so: symbol NULL_HSHMEMS: referenced symbol not found"

The library /opt/mqm/lib/libmqm.so is provided with the installation of MQSeries Server.

Does anyone know whereelse can I find answers about this problem?

Thanx in advance.
Luisa.

Last edited by lwnorowski; 07-17-2002 at 05:00 PM..

Previous Thread | Next Thread
Test Your Knowledge in Computers #714
Difficulty: Medium
Machine learning is a well known method for mitigating the Von Neumann performance bottleneck
True or False?

10 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Sendmail external email delays and mailertables problems on Solaris

Setup is a Solaris 11 zone running sendmail as a relay to our actual mailservers. All emails to external domains seem to be being tried to be sent directly from this Solaris 11 zone which cannot send mail externally. All emails sent to our pager addresses as defined in the /etc/mail/aliases... (0 Replies)
Discussion started by: LittleLebowski
0 Replies

2. Shell Programming and Scripting

problems calling out variables in a loop

good afternoon forums. i have a problem that ive been trying to work out all morning and cant seem to get my head around it. what i have in my script is individual letters saved in different variables. so if the word unix was saved then 'u' would be stored in the variable 'wvar1' 'n' in 'wvar2'... (7 Replies)
Discussion started by: strasner
7 Replies

3. Shell Programming and Scripting

Calling external function in a shell

hi guys, how r u??? please I need you, help me please. I have a shell, in this shell i have this function and another code lines, this function is getting date one day back. the function is in the same shell (FILE 1) Now I need put this function in another file (FILE 2) and calling... (4 Replies)
Discussion started by: acevallo
4 Replies

4. UNIX for Advanced & Expert Users

Calling unix script from sql or plsql

Hi Can anyone please let me know how to call unix scripts from sql or plsql ASAP. (2 Replies)
Discussion started by: ksailesh
2 Replies

5. Shell Programming and Scripting

calling .sql in .sh file

Hi All , I have created .sql script in unix.this script contains 4 sql queries. Now I want to craete .sh file based on .sql script. So please let me know the steps to craete .sh file Thank you. (1 Reply)
Discussion started by: user71408
1 Replies

6. UNIX for Advanced & Expert Users

calling external values inside awk command

I have a code as follows awk ' BEGIN{FS=OFS=","} { n=split($3,a1,"~") split($4,a2,"~") split($5,a3,"~") for(i=1;i<=n;i++) { print $1,$2,a1,a2,a3,date } }' file In the above code I need to add current date(date). How is this possible to call an date or a exported value... (13 Replies)
Discussion started by: tkbharani
13 Replies

7. Shell Programming and Scripting

any possible solution on sql calling scripts

hi all, i have a function which will take i/p as a ddl sctipt as i/p and execute it, let function execute_sql { db_var="$1" v_cnt=`sqlplus -s XXXXX/XXXXX@aXXX << ENDSQL | sed -e "s/Connected\.//" -e "/^$/d" set pagesize 0 feedback off verify off heading off echo off serveroutput on size... (4 Replies)
Discussion started by: manas_ranjan
4 Replies

8. Filesystems, Disks and Memory

external USB detection problems

I have seagate USB 2.0 HDD which was working good on my windows system Recently I have started using red hat Linux 2.6.9-55.0.12.EL (i686 i686 i386 GNU/Linux) The USB is not at all detected in Linux even if I reboot with it attached to the PC. The same can be detected on any Windows system.... (2 Replies)
Discussion started by: mahendrakamath
2 Replies

9. Shell Programming and Scripting

Calling SQL LDR and SQL plus scripts in a shell script

Hi- I am trying to achieve the following in a script so I can schedule it on a cron job. I am fairly new to the unix environment... I have written a shell script that reads a flat file and loads the data into an Oracle table (Table1) via SQLLDR. This Works fine. Then, I run a nested insert... (5 Replies)
Discussion started by: rajagavini
5 Replies

10. Shell Programming and Scripting

Calling SQL scripts through Shell Script

Oracle and Scripting gurus, I need some help with this script... I am trying to add the query SELECT * FROM ALL_SYNONYMS WHERE SYNONYM_NAME = 'METADATA' in the current script.... Read the result set and look for the TABLE_NAME field. If the field is pointing to one table eg.... (18 Replies)
Discussion started by: madhunk
18 Replies
wxListItem(3erl)					     Erlang Module Definition						  wxListItem(3erl)

NAME
wxListItem - See external documentation: wxListItem. DESCRIPTION
See external documentation: wxListItem . DATA TYPES
wxListItem() : An object reference, The representation is internal and can be changed without notice. It can't be used for comparsion stored on disc or distributed for use on other nodes. EXPORTS
new() -> wxListItem() See external documentation . new(Item::wxListItem()) -> wxListItem() See external documentation . clear(This::wxListItem()) -> ok See external documentation . getAlign(This::wxListItem()) -> WxListColumnFormat Types WxListColumnFormat = integer() See external documentation . WxListColumnFormat is one of ?wxLIST_FORMAT_LEFT | ?wxLIST_FORMAT_RIGHT | ?wxLIST_FORMAT_CENTRE | ?wxLIST_FORMAT_CENTER getBackgroundColour(This::wxListItem()) -> colour() (see module wx) See external documentation . getColumn(This::wxListItem()) -> integer() See external documentation . getFont(This::wxListItem()) -> wxFont() (see module wxFont) See external documentation . getId(This::wxListItem()) -> integer() See external documentation . getImage(This::wxListItem()) -> integer() See external documentation . getMask(This::wxListItem()) -> integer() See external documentation . getState(This::wxListItem()) -> integer() See external documentation . getText(This::wxListItem()) -> string() See external documentation . getTextColour(This::wxListItem()) -> colour() (see module wx) See external documentation . getWidth(This::wxListItem()) -> integer() See external documentation . setAlign(This::wxListItem(), Align::WxListColumnFormat) -> ok Types WxListColumnFormat = integer() See external documentation . WxListColumnFormat is one of ?wxLIST_FORMAT_LEFT | ?wxLIST_FORMAT_RIGHT | ?wxLIST_FORMAT_CENTRE | ?wxLIST_FORMAT_CENTER setBackgroundColour(This::wxListItem(), ColBack::colour() (see module wx)) -> ok See external documentation . setColumn(This::wxListItem(), Col::integer()) -> ok See external documentation . setFont(This::wxListItem(), Font::wxFont() (see module wxFont)) -> ok See external documentation . setId(This::wxListItem(), Id::integer()) -> ok See external documentation . setImage(This::wxListItem(), Image::integer()) -> ok See external documentation . setMask(This::wxListItem(), Mask::integer()) -> ok See external documentation . setState(This::wxListItem(), State::integer()) -> ok See external documentation . setStateMask(This::wxListItem(), StateMask::integer()) -> ok See external documentation . setText(This::wxListItem(), Text::string()) -> ok See external documentation . setTextColour(This::wxListItem(), ColText::colour() (see module wx)) -> ok See external documentation . setWidth(This::wxListItem(), Width::integer()) -> ok See external documentation . destroy(This::wxListItem()) -> ok Destroys this object, do not use object again AUTHORS
<> wxErlang 0.98.9 wxListItem(3erl)

Featured Tech Videos