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..
Login or Register to Ask a Question

Previous Thread | Next Thread

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
Login or Register to Ask a Question
wxPrintDialogData(3erl) 				     Erlang Module Definition					   wxPrintDialogData(3erl)

NAME
wxPrintDialogData - See external documentation: wxPrintDialogData. DESCRIPTION
See external documentation: wxPrintDialogData . DATA TYPES
wxPrintDialogData() : 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() -> wxPrintDialogData() See external documentation . new(DialogData::wxPrintDialogData() | wxPrintData() (see module wxPrintData)) -> wxPrintDialogData() See external documentation . enableHelp(This::wxPrintDialogData(), Flag::bool()) -> ok See external documentation . enablePageNumbers(This::wxPrintDialogData(), Flag::bool()) -> ok See external documentation . enablePrintToFile(This::wxPrintDialogData(), Flag::bool()) -> ok See external documentation . enableSelection(This::wxPrintDialogData(), Flag::bool()) -> ok See external documentation . getAllPages(This::wxPrintDialogData()) -> bool() See external documentation . getCollate(This::wxPrintDialogData()) -> bool() See external documentation . getFromPage(This::wxPrintDialogData()) -> integer() See external documentation . getMaxPage(This::wxPrintDialogData()) -> integer() See external documentation . getMinPage(This::wxPrintDialogData()) -> integer() See external documentation . getNoCopies(This::wxPrintDialogData()) -> integer() See external documentation . getPrintData(This::wxPrintDialogData()) -> wxPrintData() (see module wxPrintData) See external documentation . getPrintToFile(This::wxPrintDialogData()) -> bool() See external documentation . getSelection(This::wxPrintDialogData()) -> bool() See external documentation . getToPage(This::wxPrintDialogData()) -> integer() See external documentation . isOk(This::wxPrintDialogData()) -> bool() See external documentation . setCollate(This::wxPrintDialogData(), Flag::bool()) -> ok See external documentation . setFromPage(This::wxPrintDialogData(), V::integer()) -> ok See external documentation . setMaxPage(This::wxPrintDialogData(), V::integer()) -> ok See external documentation . setMinPage(This::wxPrintDialogData(), V::integer()) -> ok See external documentation . setNoCopies(This::wxPrintDialogData(), V::integer()) -> ok See external documentation . setPrintData(This::wxPrintDialogData(), PrintData::wxPrintData() (see module wxPrintData)) -> ok See external documentation . setPrintToFile(This::wxPrintDialogData(), Flag::bool()) -> ok See external documentation . setSelection(This::wxPrintDialogData(), Flag::bool()) -> ok See external documentation . setToPage(This::wxPrintDialogData(), V::integer()) -> ok See external documentation . destroy(This::wxPrintDialogData()) -> ok Destroys this object, do not use object again AUTHORS
<> wxErlang 0.98.9 wxPrintDialogData(3erl)