Sponsored Content
Top Forums UNIX for Advanced & Expert Users AIX Dependent Module could not be loaded Post 302587311 by Clovis_Sangrail on Wednesday 4th of January 2012 01:49:45 PM
Old 01-04-2012
I went hunting for AIX RPM's that might have libgpgme.a in them. I found and retrieved one, it turned out to be for a different CPU but I was able to examine the libgpgme.a that came with it. It turned out the only module inside the libgpgme.a archive was --- libgpgme.so.11 !

This seems kind of silly to me. I'm not a Unix developer but I always thought that "libxxxxx.a" files held static object files, and "libxxxx.so" files held shared object files. I never noticed a shared library being stored as a module in a static library before.

Well, I have the libgpgme.so.11 file for my system, it's right there in /usr/local/lib, so I ran 'ar' and made a libgpgme.a library whose only module was the shared library. It works!! (Or at least, it gets me to the point of needing a cipher to decrypt the files I want to access.):

Code:
++++++++++++++++++++
lipossrp01ga:/data/7700 $ /SCA/gtm_dist-V5.4-002A/mupip journal -extract=test.log -fences=none -noverify -forward acn.mjl_2012002010300 
%GTM-I-MUJNLSTAT, Initial processing started at Wed Jan  4 09:55:11 2012
%GTM-I-MUJNLSTAT, Backward processing started at Wed Jan  4 09:55:11 2012
%GTM-I-MUJNLSTAT, Forward processing started at Wed Jan  4 09:55:11 2012
%GTM-I-FILERENAME, File test.log is renamed to test.log_2012004095453
%GTM-I-FILECREATE, Journal extract file test.log created
%GTM-E-CRYPTINIT, Error initializing encryption library. Environment variable gtm_passwd not set
%GTM-E-MUNOACTION, MUPIP unable to perform requested action
%GTM-I-MUJNLSTAT, End processing at Wed Jan  4 09:55:11 2012
lipossrp01ga:/data/7700 $
++++++++++++++++++++



I have to idea why my program (mupip) cannot simply find and use the shared library, but instead must open a static library and read the shared library from it. Has anybody ever encountered something like this?

Not that I'm complaining, I'm glad it works. But it seems silly.
 

10 More Discussions You Might Find Interesting

1. AIX

List loaded drives in AIX?

Does anyone know how I can list the loaded drivers in AIX. I suspect it has something to do with ODM but I dont know how to do it. I am trying to find wich scsi device (scsi1 2 3 etc) is attached to a particular piece of hardware. I know the driver name but how to find which scsi device is... (4 Replies)
Discussion started by: ksas025
4 Replies

2. Linux

How to convert Linux Kernel built-in module into a loadable module

Hi all, I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/. I need to know if I can... (0 Replies)
Discussion started by: anitemp
0 Replies

3. Solaris

mcrypt module is not initially loaded with php

Hi I'm trying to do an upgrade for one application and whenever I run the upgradre the program shows the error that mcrypt module is not initially loaded with php. My server is running xampp 0.9 and I know this library of mcrypt is already installed. I changed the php.ini file in order to... (0 Replies)
Discussion started by: dahr
0 Replies

4. AIX

AIX pre-loaded, no license

Hi, I've found some old threads on AIX licensing, but still not sure: I'd like to get some used pSeries box for hands-on AIX learning. If somebody on eBay offers a box with $subj - what problems/limitations (technical, not legislative) I could expect? Is this system usable for my intention? ... (2 Replies)
Discussion started by: tacelus
2 Replies

5. AIX

Problem with AIX: shared libraries aren't loaded

Hello guys, I have a trouble when running an application in AIX, I've compiled and the LIBRARY_PATH seems ok, but I get the following message: rtld: 0712-001 Symbol __pthread was referenced from module main_app(), but a runtime definition of the symbol was not found ldd... (4 Replies)
Discussion started by: edgarvm
4 Replies

6. SCO

module loaded during the start up

hi Howto find out which driver (module) were loaded during the startup of SCO 5.0.6? (5 Replies)
Discussion started by: ccc
5 Replies

7. UNIX for Advanced & Expert Users

How the user process can access the character device loaded by my module

I am trying to load into the kernel a system-call dynamically (without restarting the kernel and compailing it) in an attempt to (once in kernel mode) write to user process's memory. (I know there is a way to do this with the ptrace interface but it is not an option.) I know the only way to... (1 Reply)
Discussion started by: hopelessProgram
1 Replies

8. Shell Programming and Scripting

Script to Start services based on dependent services on other AIX machine

Hi, I just started working on a script. After my research, i found a command which can help me: AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2. So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies

9. UNIX and Linux Applications

WINBIND module missing in AIX 7.1

I have installed following packages from perzl samba-winbind-clients-3.6.22-1 samba-client-3.6.22-1 samba-domainjoin-gui-3.6.22-1 samba-winbind-devel-3.6.22-1 samba-3.6.22-1 samba-common-3.6.22-1 samba-winbind-krb5-locator-3.6.22-1 samba-doc-3.6.22-1 samba-swat-3.6.22-1... (7 Replies)
Discussion started by: laxtnog
7 Replies

10. Shell Programming and Scripting

Inputs required in decoding file on AIX- executable (RISC System/6000) or object module not stripped

Hi, We are in the process of migrating from AIX to Linux. There is a script of type "executable (RISC System/6000) or object module not stripped" on AIX and we are unable to read the contents of it. Is there a way to read the contents of the file on AIX, so that we can rewrite the code in... (3 Replies)
Discussion started by: venkatesh17
3 Replies
set_color(1)							       fish							      set_color(1)

NAME
set_color - set_color - set the terminal color set_color - set the terminal color Synopsis set_color [-v --version] [-h --help] [-b --background COLOR] [COLOR] Description Change the foreground and/or background color of the terminal. COLOR is one of black, red, green, brown, yellow, blue, magenta, purple, cyan, white and normal. o -b, --background Set the background color o -c, --print-colors Prints a list of all valid color names o -h, --help Display help message and exit o -o, --bold Set bold or extra bright mode o -u, --underline Set underlined mode o -v, --version Display version and exit Calling set_color normal will set the terminal color to whatever is the default color of the terminal. Some terminals use the --bold escape sequence to switch to a brighter color set. On such terminals, set_color white will result in a grey font color, while set_color --bold white will result in a white font color. Not all terminal emulators support all these features. This is not a bug in set_color but a missing feature in the terminal emulator. set_color uses the terminfo database to look up how to change terminal colors on whatever terminal is in use. Some systems have old and incomplete terminfo databases, and may lack color information for terminals that support it. Download and install the latest version of ncurses and recompile fish against it in order to fix this issue. Version 1.23.1 Sun Jan 8 2012 set_color(1)
All times are GMT -4. The time now is 09:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy