X

Technologies

Changing Search Paths with crle(1) - they are a replacement

A developer who wished to add /usr/sfw/lib to their default runtime search path, managed to turn their system into a brick by using crle(1): # crle -l /usr/sfw/lib # ls ld.so.1: ls: fatal: libsec.so.1: open failed: No such file or directory Killed The problem was that crle(1), in this basic form, created a system wide configuration file. This configuration file defined that the default runtime search path for shared object dependencies is /usr/sfw/lib. This...

Wednesday, October 4, 2006 | Technologies | Read More

Who or what is Solaris CAT?

Solaris CAT is a crash analysis tool (C.A.T, get it?) that a small team of dedicated engineers in Sun's Support Services kernel team have been developing over the past 10 years. It's been available internally for ages, and with the 4.0 release we got the go-ahead to provide it to you, our customers, via SDLC. We've also got version 4.1 on SDLC but that doesn't support Solaris 10.We've had a few hiccups along the path to getting 4.2 out for you and we also branched to start a...

Monday, May 22, 2006 | Technologies | Read More

Cookies

alt="Date Chocolate Chip Cookies" align="right" width="184" height="122" border="0" /> The term cookies in computerspeak refers to a "token" of information passed among software. It was first used with the UNIX® Portable C Compiler (PCC). Later, the term was used for video terminal software and web browsers. Anyway, here's the story of the origin of cookies from Steve Johnson, author of PCC atBell Labs: From uucp Tue Nov 20 00:19 EST 1984 remote from hcrFrom...

Tuesday, May 2, 2006 | Technologies | Read More

Wrong ELF Class - requires consistent compiler flags

Every now and then, someone encounters the following error. % cc -G -o foo.so foo.o -lbar ld: fatal: file foo.o: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to foo Or perhaps the similar error. % cc -G -xarch=amd64 -o foo.so foo.o -lbar ld: fatal: file foo.o: wrong ELF class: ELFCLASS32 ld: fatal: File processing errors. No output written to foo This issue stems from the compiler flags that have been used to compile the...

Wednesday, April 26, 2006 | Technologies | Read More

Hotel San Diego Implosion

width="422" height="266" border="0"> Before: Hotel San Diego, Northeast corner, May 2002 Yesterday, the historic Hotel San Diego was demolished. The seven-story hotel lived on 339 W. Broadway in downtown San Diego, California. The hotel was built in 1914 by John D. Spreckels, who made his riches from Spreckels Sugar and shipping. Spreckels moved out of San Francisco after the 1906 San Francisco earthquake (100 years ago today) to someplace safer and nicer. The hotel was built...

Sunday, April 16, 2006 | Technologies | Read More

C++ Dynamic Linking - symbol visibility issues

Recently, a customers use of C++ objects within a dlopen(3c) environment revealed a problem that took some time to evaluate and understand. Sadly, this seems to be a recurring issue where the expectations of the C++ implementation are compromised by dynamic linking capabilities. Of course, dynamic linking is the norm for Solaris, and C++ is commonly employed in dynamic linking environments. But there are subtleties in regards symbol visibility that can cause problems. This...

Thursday, March 16, 2006 | Technologies | Read More