Sponsored Content
Top Forums Programming I can't compile (gcc) in Solaris 11.3 non global zone Post 303005613 by jim mcnamara on Friday 20th of October 2017 06:50:49 AM
Old 10-20-2017
Okay. It looks like zabbix is trying to create a 64 bit executable image, but some libraries are 32 bit.

When you compile you have to use all components from the same 'memory model', i.e., 64 or 32, gcc's -m option will let you change it. For every object. But you want all objects and libraries to match. I've compiled a lot of Solaris code on sparc and some on Intel, I've never encountered this kind of mix and match problem quite like you have. See if the libraries -- the ones the compile complained about -- exist somewhere in the correct memory model - 64bit. And use them. The problem is that your makefile expects some things that apparently it cannot find. Your job: find them, put them in the right place.

A warning: overwriting an existing library could easily break other installed applications. Also check LD_LIBRARY_PATH variable to see if it is the cause of your problem. Probably not, but you need to rule out potential issues.

PS: there is nothing wrong with your gcc.

Last edited by jim mcnamara; 10-20-2017 at 07:57 AM..
 

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
Wand-Config(1)						      General Commands Manual						    Wand-Config(1)

NAME
Wand-config - get information about the installed version of the Magick Wand SYNOPSIS
Wand-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version] DESCRIPTION
Wand-config prints the compiler and linker flags required to compile and link programs that use the Wand Application Programmer Interface. EXAMPLES
To print the version of the installed distribution of Wand, use: Wand-config --version To compile a program that calls the Wand Application Programmer Interface, use: cc `Wand-config --cflags --cppflags --ldflags --libs` program.c OPTIONS
--cflags Print the compiler flags that were used to compile libWand. --cppflags Print the preprocessor flags that are needed to find the Wand C include files and defines to ensure that the Wand 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 Wand library. --libs Print the linker flags that are needed to link a program with libWand. --version Print the version of the Wand distribution to standard output. COPYRIGHT
See http://www.imagemagick.org/script/license.php AUTHORS
John Cristy, ImageMagick Studio LLC Wand 2 May 2002 Wand-Config(1)
All times are GMT -4. The time now is 08:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy