Linux

/usr/bin/ld: cannot find -lz

Problem:

/usr/bin/ld: cannot find -lz

Solution:

yum install zlib-static

Problem:

/usr/bin/ld: cannot find -lpthread

Solution:

yum install glibc-static

Problem:

/usr/bin/ld: cannot find -lstdc++

Solution:

yum install libstdc++-static

If you are using RHEL7, these are in the rhel-x86_64-server-optional-7 channel.

Topic: 

Solved: yum says TypeError: coercing to Unicode: need string or buffer, list found

You to run a simple yum update and yum gives you a traceback full of python info. Huh?

up2dateErrors.py212__init__TypeError coercing to Unicode need string or buffer, list found

Renewing SAS for Linux at the Command line

sudo /usr/local/SAS/SASFoundation/9.3/sassetup

That gives you this:

Welcome to SAS Setup, the program used to renew your SAS software.

Darwin Streaming Server RPM for RHEL6

I wanted to run Darwin Streaming Server on Red Hat Enterprise Linux 6.

I made binary RPMs for 64-bit RHEL6 using these instructions. My changes:

  • fixed the symlink at /var/dss/modules to point to the correct directory
  • worked around the fact that DarwinStreamingServer -x does not exit when run
  • changed config path so that login to the Web Admin is possible

To install on RHEL6 (or CentOS 6, I presume):

Subscribe to RSS - Linux