Sponsored Content
Full Discussion: Shared modules on Solaris
Operating Systems Solaris Shared modules on Solaris Post 50146 by yanhu on Friday 16th of April 2004 07:05:58 PM
Old 04-16-2004
Shared modules on Solaris

Hello:
I was wondering if you can tell me how to make a .so file on solaris. For example, How do I create module.so from module.c? On linux , it is gcc module.c -o module.so -shared. However, that command doens't work on solairs. Thanks in advance.
 

10 More Discussions You Might Find Interesting

1. Solaris

How to check for installed Perl modules on solaris?

Is there a quick way to check for installed perl modules on a solaris server? I found using perl -e "use Crypt::DES" will work for checking one package at a time. I was wondering if there was anything else out there? (4 Replies)
Discussion started by: jsandova
4 Replies

2. Solaris

How to manage the shared libraries on Solaris 10?

Please tell me how to manage the shared library on solaris 10! which file to configure the library path? which environment variable contains these paths ? how to define the new library path? thanks all! (2 Replies)
Discussion started by: quyetbm
2 Replies

3. Shell Programming and Scripting

How to install perl modules in Solaris

Hi All, How to install the perl modules in Solaris? pwd /eweiquu/ocsta/lib/XML-Simple-2.18 and bash-3.00# perl Makefile.PL Checking installed modules ... XML::Parser is installed, it will be used by the test suite Writing Makefile for XML::Simple and then the readme file says,you... (2 Replies)
Discussion started by: Damon_Qu
2 Replies

4. Solaris

shared memory in solaris 10 with oracle

Hi, I am a newbie to solaris and i have some questions on shared memory, Oracle in Solaris My Questions might seem different, however please do read and try to answer. Thanks in advance. 1) if a solaris server has say 40gb of Ram, what would be the maximum size of a shared memory segment in... (1 Reply)
Discussion started by: kris123456@gmai
1 Replies

5. Solaris

Shared Folders in VMWare and Oracle Solaris 11

ive a Winows 7 Host and Guest is Oracle Solaris 11, i read the vmware guide, but still wont work, since the "mount" command changed in solaris i guess, mount -t vmhgfs .host/foo /tmp/foo says that -t isnt recognized. anyone knows how to do it? thank you. (2 Replies)
Discussion started by: JonhyM
2 Replies

6. Solaris

Link Based IPMP on Shared IP Solaris Zone

Hi, This may have already been raised previously so sorry for the duplication. What I want to achieve is have a physical server using link based IPMP setup in the global zone (not problem doing that) and then create a zone set as Shared-IP so when the servers NIC has an issue the IP will... (0 Replies)
Discussion started by: giles.cardew
0 Replies

7. Shell Programming and Scripting

how to create custom modules in perl and how to import all modules with single command?

I have some custom functions which i want to use in perl Scripting all time. i want to How to create modules in perl and how to import them. Also if i create 15 modules and i want to > import all at once then how can i import? (0 Replies)
Discussion started by: Navrattan Bansa
0 Replies

8. Solaris

Strange isuse with shared storage in Solaris 10

i have luns offered by SE3310 being mounted on two T2000 servers (sun solaris 10u11) . i can see the files on both servers but if i create a new file or rename n existing file on one node its not immediately visible on the other unless i unmount n remount the partition ..how can i fix this ? (2 Replies)
Discussion started by: aliyesami
2 Replies

9. Solaris

Solaris live upgrade - how to check if a fs is shared or not

Hi all, 1) how do i check which FS(filesystems) in the current active PBE are shared and not shared with the ABE (alternate boot env) ? is doing lufslist and comparing between the 2 BEs the only option ? 2) when doing a luactivate -s (synchronize), does the synchronization go both way... (0 Replies)
Discussion started by: javanoob
0 Replies

10. Solaris

Solaris 10 Shared Memory Corruption with X11

I am having a problem with shared memory corruption. I have two 86 servers running Solaris 10 (150400-06). One of the servers is accessed by a Sun Ray thin client Version 11.1.3.0.2.6. I login into server one from the thin client. I then ssh -X to server two. When a process that contains a... (2 Replies)
Discussion started by: salerno
2 Replies
LINUX(4)						   BSD Kernel Interfaces Manual 						  LINUX(4)

NAME
linux -- Linux ABI support SYNOPSIS
To compile support for this ABI into an i386 kernel place the following line in your kernel configuration file: options COMPAT_LINUX for an amd64 kernel use: options COMPAT_LINUX32 Alternatively, to load the ABI as a module at boot time, place the following line in loader.conf(5): linux_load="YES" DESCRIPTION
The linux module provides limited Linux ABI (application binary interface) compatibility for userland applications. The module provides the following significant facilities: o An image activator for correctly branded elf(5) executable images o Special signal handling for activated images o Linux to native system call translation It is important to note that the Linux ABI support it not provided through an emulator. Rather, a true (albeit limited) ABI implementation is provided. The following sysctl(8) tunable variables are available: compat.linux.osname Linux kernel operating system name. compat.linux.osrelease Linux kernel operating system release. Changing this to something else is discouraged on non-development systems, because it may change the way Linux programs work. Recent versions of GNU libc are known to use different syscalls depending on the value of this sysctl. compat.linux.oss_version Linux Open Sound System version. The linux module can be linked into the kernel statically with the COMPAT_LINUX kernel configuration option or loaded as required. The fol- lowing command will load the module if it is neither linked into the kernel nor already loaded as a module: if ! kldstat -v | grep -E 'linux(aout|elf)' > /dev/null; then kldload linux > /dev/null 2>&1 fi Note that dynamically linked Linux executables will require a suitable environment in /compat/linux. Specifically, the Linux run-time linker's hints files should be correctly initialized. For this reason, it is common to execute the following commands to prepare the system to correctly run Linux executables: if [ -x /compat/linux/sbin/ldconfig ]; then /compat/linux/sbin/ldconfig -r /compat/linux fi For information on loading the linux kernel loadable module automatically on system startup, see rc.conf(5). This information applies regardless of whether the linux module is statically linked into the kernel or loaded as a module. FILES
/compat/linux minimal Linux run-time environment /compat/linux/proc limited Linux process file system /compat/linux/sys limited Linux system file system SEE ALSO
brandelf(1), elf(5), linprocfs(5), linsysfs(5) HISTORY
Linux ABI support first appeared in FreeBSD 2.1. BSD
February 8, 2010 BSD
All times are GMT -4. The time now is 09:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy