Sponsored Content
Top Forums Programming I can't compile (gcc) in Solaris 11.3 non global zone Post 303005508 by jim mcnamara on Wednesday 18th of October 2017 08:25:46 PM
Old 10-18-2017
Try this command:
Code:
file /usr/local/lib/libOpenIPMI.so:

What ELFCLASS? 64 or 32?

That is part of your problem.

Can you compile using gcc a 'hello world' program in C

Code:
cd $HOME
echo '
#include <stdio.h>
int main(void)
{
    printf("Hello World\n");
    return 0;
} 
'  > hw.c
gcc -o hw hw.c
#  you may get some warnings from gcc, ignore them but please let us see them
./hw

should produce "Hello World", if it does not please post what you got running this.
 

9 More Discussions You Might Find Interesting

1. Solaris

Solaris Zone : Non global Zone check failed

Hi All , I try to install some packages in my global zone... On the execution of the installion of the script it quits by saying the error "Non global zone check failed" Kindly help me in this regard Thanks in advance, jeganr (7 Replies)
Discussion started by: jegaraman
7 Replies

2. Solaris

[b]How to mount a folder from global zone to non global zone??

Hi All There is one folder in global zone I just want to share the same folder innon global zone. How can i do it? pls send me script for this. (2 Replies)
Discussion started by: vijaysachin
2 Replies

3. Solaris

Solaris 10 local zone on Solaris 11 global zone

Hi, A quick question: Can Solaris 10 local zones be moved to a Solaris 11 global zone and work well? Thank you in advance! (5 Replies)
Discussion started by: aixlover
5 Replies

4. Solaris

Not able to start non global zone on Solaris 11

I have configured three zones on Solaris-11. These are non-global zones contain Solaris-11 only. One of the zone is not booting up, complaining about IP address in use, while it is not. root@tdpdmsp02 # zoneadm list -icv ID NAME STATUS PATH BRAND IP... (3 Replies)
Discussion started by: solaris_1977
3 Replies

5. Solaris

Solaris non-global zone network vlan

Have 2 nics on physical system net0 phys 1500 up -- net1 phys 1500 up -- 1. I want to create a link aggregation with LACP enabled with above 2 nics 2. Create port-group(Like we create on ESXi) with VLAN-ID 2141 3. And assign this... (0 Replies)
Discussion started by: Shirishlnx
0 Replies

6. Solaris

Solaris 11 global zone timezone

Am new on Solaris If I compare with ESXi default timezone is UTC and we have to set BIOS timezone to UTC too . What we follow and best practice in Solaris Sparc servers . Thanks in advance . (2 Replies)
Discussion started by: Shirishlnx
2 Replies

7. Solaris

Solaris non-global zone cpu pinning

Am new on solaris :):confused: Have below questions for dedicated-cpu cores 1. For licensing I want to assign 2 core per non-global zone one from each processor. Am using below but seems it's not supported . root@solaris-test:~# psrinfo 0 on-line since 04/25/2016... (3 Replies)
Discussion started by: Shirishlnx
3 Replies

8. Solaris

Solaris 11 Global zone patching having Solaris 10 branded zone

I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies

9. Solaris

Solaris 11 zone has no external network access (except to Global Zone)

Hi, hoping someone can help, its been a while since I used Solaris. After creating a NGZ (non global zone), the NGZ can access the GZ (Global Zone) and the GZ can access the NGZ (using ssh, zlogin) However, the NGZ cannot access any other netwqork devices, it can't even see the default router ... (2 Replies)
Discussion started by: GazinLincoln
2 Replies
MagickCore-Config(1)					      General Commands Manual					      MagickCore-Config(1)

NAME
MagickCore-config - get information about the installed version of ImageMagick SYNOPSIS
MagickCore-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version] DESCRIPTION
MagickCore-config prints the compiler and linker flags required to compile and link programs that use the ImageMagick Application Program- mer Interface. EXAMPLES
To print the version of the installed distribution of ImageMagick, use: MagickCore-config --version To compile a program that calls the ImageMagick Application Programmer Interface, use: cc `MagickCore-config --cflags --cppflags --ldflags --libs` program.c OPTIONS
--cflags Print the compiler flags that were used to compile libMagick. --cppflags Print the preprocessor flags that are needed to find the ImageMagick C include files and defines to ensure that the ImageMagick data structures match between your program and the installed libraries. --exec-prefix Print the directory under which target specific binaries and executables are installed. --ldflags Print the linker flags that are needed to link with the ImageMagick library. --libs Print the linker flags that are needed to link a program with libMagick. --version Print the version of the ImageMagick distribution to standard output. LICENSE
See http://www.imagemagick.org/script/license.php. AUTHORS
John Cristy, ImageMagick Studio LLC ImageMagick 2 May 2002 MagickCore-Config(1)
All times are GMT -4. The time now is 08:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy