Author |
Message
|
CrashJohn |
Posted: Tue Jan 29, 2008 8:21 am Post subject: Problem with sendMail plugin(IA07) in Solaris |
|
|
Novice
Joined: 04 Jun 2006 Posts: 21
|
Hi,
I have Message Broker V6.0.0.3 installed on a Solaris box.And I am trying to install the sendMail plugin(1A07 Supportpac).
But while compiling the plugin in the Solaris environment, I get the following error:
make: Fatal error: Don't know how to make target `SendMailPlugIn.c'
If I try to direclt deploy the lil file available from the SupportPac into the broker, I get the following error:
BIP2308E: File '/opt/IBM/mqsi/6.0/lil/SendMailPlugIn.lil' could not be loaded; operating system return code 'ld.so.1: DataFlowEngine: fatal: relocation error: file /opt/IBM/mqsi/6.0/lil/SendMailPlugIn.lil: symbol Rfc822UdfHeaderFree: referenced symbol not found'. : GEREBRK_DEV.c16da088-1701-0000-0080-b0330c39c08c: /build/S600_P/src/DataFlowEngine/MessageServices/Unix/ImbLibrary.cpp: 136: ImbLibraryBase::ImbLibraryBase: :
Any inputs on resolving this error will be helpful.
Thanks! |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jan 29, 2008 8:27 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What steps are you executing to build the module? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
CrashJohn |
Posted: Tue Jan 29, 2008 8:42 am Post subject: |
|
|
Novice
Joined: 04 Jun 2006 Posts: 21
|
Hi,
To build the module, I copied the SendMailPlugIn.lil file to <WBIMB-root>/lil i.e. '/opt/IBM/mqsi/6.0/lil/' and restarted the broker. This is as per given in the IA07 document. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jan 29, 2008 8:48 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I meant "build" in the sense of "compile".
You're getting an error from Make.
What are the steps you have taken to run Make? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
CrashJohn |
Posted: Tue Jan 29, 2008 9:09 am Post subject: |
|
|
Novice
Joined: 04 Jun 2006 Posts: 21
|
we ran the make command as mentioned in the pdf pg 17. command given below. command was run in solaris itself.
'make –f makefile.sendmail'
we also tried to run 'make –f makefile.smtp' and that gave the error given below.
make: Fatal error: Don't know how to make target `smtp/SendMailPlugIn.lil' |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jan 29, 2008 9:26 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Is that the full output?
Did you unpack the distribution on the Solaris machine, or unpack it somewhere else and move it to the solaris machine?
It seems like either your make is not the right make, or the make file is bad somehow. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
CrashJohn |
Posted: Tue Jan 29, 2008 9:45 am Post subject: |
|
|
Novice
Joined: 04 Jun 2006 Posts: 21
|
initially, we unpacked the makefiles locally and exported them to solaris after saving them as Unix versions. When we ftp'ed the zip files directly and unpacked them in solaris, the files has Ctrl + M characters at the end of every line.
if make is corrupt, is there any other way to make the sendmail plugin work in our box? for example, is there any possibility of getting a precompiled version that can directly run in our box? |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Jan 29, 2008 11:13 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Ctrl+M characters are indicative of windows line endings in a Unix file.
You can, of course, contact the author of the support pac for assistance.
Also, you don't need this node at all in MB v6.1. So you might consider deferring your email needs until you move to MB v6.1.
Thirdly, you can use the JavaMail API from MB v6 in a JavaCompute node.
I don't have a Solaris machine where I can play with this... but I'd confirm that you did things like adjust the unix line endings in the make file properly... and check the makefile for the missing targets. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
CrashJohn |
Posted: Tue Jan 29, 2008 12:14 pm Post subject: |
|
|
Novice
Joined: 04 Jun 2006 Posts: 21
|
Thanks Jeff for your inputs. You were right. Some of the targets were not set properly. But seems like the unbundled C Compiler 'SPROcc' has not been installed. Because of this, I get the below error now:
/usr/ucb/cc: language optional software package not installed
We would check with the Solaris admin out here to install the additonal package. If there is any other workaround, please let me know.
Thanks! |
|
Back to top |
|
 |
CrashJohn |
Posted: Wed Jan 30, 2008 9:57 am Post subject: |
|
|
Novice
Joined: 04 Jun 2006 Posts: 21
|
We have got the C Compiler SPROcc installed and resolved the 'Language package not installed' error.
But now, I get the below error:
make: Fatal error: Don't know how to make target `node_utils.c'
I cannot find 'node_utils.c' anywhere within the package nor within the MQSI installation folder. Any pointers on resolving this please? |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jan 30, 2008 10:26 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
That doesn't appear in any of the other makefiles...
so it might be a Solaris specific source file?
You can try commenting out the make lines that include it, on the assumption that it's a bug. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
CrashJohn |
Posted: Wed Jan 30, 2008 12:45 pm Post subject: |
|
|
Novice
Joined: 04 Jun 2006 Posts: 21
|
As suggested, I have commented the lines pointing to nodes_utils.c and compiled the plugin. It compiled fine.
I created a new directory (sendmail) within MQSI installation folder and explicitly added the path to the broker using the mqsichangebroker command. I now copied the lil file to the above mentioned directory but when I deploy the lil file to the broker, I get the below exception:
File '/opt/IBM/mqsi/6.0/lil/sendmail/SendMailPlugIn.lil' could not be loaded; operating system return code 'ld.so.1: DataFlowEngine: fatal: relocation error: file /opt/IBM/mqsi/6.0/lil/sendmail/SendMailPlugIn.lil: symbol Rfc822UdfHeaderFree: referenced symbol not found'. : GEREBRK_DEV.c16da088-1701-0000-0080-b0330c39c08c: /build/S600_P/src/DataFlowEngine/MessageServices/Unix/ImbLibrary.cpp: 136: ImbLibraryBase::ImbLibraryBase: :
I created a new directory because I got a similar error when the lil file was placed in the default installation directory. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Jan 30, 2008 12:47 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Okay. That suggests that node_utils.c is needed...
Have you contacted the author yet? Has he responded? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
vanvught |
Posted: Thu Jan 31, 2008 4:38 am Post subject: |
|
|
 Apprentice
Joined: 02 Jul 2001 Posts: 35 Location: The Netherlands
|
Hi,
make sure that you have a subdirectory 'smtp' at the level you installed the makefile.
Note: node_utils.c is not used anymore in version 1.10.
Hope this helps.
Met vriendelijke groeten / Kind regards,
Arjan van Vught
Senior IT-Specialist
Software Services for WebSphere, Business-to-Business (WPG/WDI) |
|
Back to top |
|
 |
CrashJohn |
Posted: Sat Feb 02, 2008 6:52 pm Post subject: |
|
|
Novice
Joined: 04 Jun 2006 Posts: 21
|
Hi, Sorry for the delay in response... All the time I was trying to use the makefile.sendmail file instead of the .smtp file... AS suggested by Arjan, I made sure the smtp folder was in the level of the makefile and bingo! it worked.
Thanks a lot Jeff and Arjan for your inputs! |
|
Back to top |
|
 |
|