<< Prev  |  TOC  |  Front Page  |  Talkback  |  FAQ  |  Next >>
LINUX GAZETTE
...making Linux just a little more fun!
More 2-Cent Tips

See also: The Answer Gang's Knowledge Base and the LG Search Engine


cinelerra & libstdc++so.3

Fri, 08 Aug 2003 23:54:45 -0700
Thomas Adam (The LG Weekend Mechanic)
Question by Brian

Well, i installed the SuSe 8.2 pro, and it's really nice. Found Kino and got my firewire DV video camera to download some AVI files. wow! To get a final product SVCD of my little princess riding horses, i decided to use Cinelerra.it won't install, because libstdc++so.3 isn't found. I have all the C++ from SuSe, but, not this.

My Questions: 1 i have the files from a Linux Format DVD "essentials" section. It looks "involved" to install. Do i need the one file libstdc++so.3, or the whole group?

2 Could you recommend a course of action. I would like to do some video editing again. I'm 1/2 way there and real excited. Dang! i'm getting all shaky again!

This looks like a classic case of "I cannot find the symlink". I usually get annoyed at programs that do this, but the solution is simple:
1. Find "libstdc++" (possibly in /usr/lib/)
2. ln -s /usr/lib/libstdc++ /usr/lib/libstdc++so.3
(What you may find is that a file called "libstdc++so.so" exists, and should that point of a library file, symlink it as appropriate).
3. run "ldconfig -X" (as root)
(Step 3 is there to keep the cache happy, although it is usually not needed).
HTH,

Thank you very much. Cinelerra is working, the frame rate is up w/ my NVIDIA driver, and i have 2 week's vacation starting today!. whoo hoo!

I am requesting your permission to post your suggestion to the web - chat sites where a few are experiencing similar difficulties.

thanks a 1 EE6.

brian

You're more than welcome to do so -- Thomas Adam


problem in dns setting up

Wed, 6 Aug 2003 02:51:16 -0700 (PDT)
Kapil Hari Paranjape (The Answer Gnag)
Question by Anil KP

Hi, We have leaseline from our isp and they have given us 8 ethernet ipz(public ip) for our internal servers. The problem is that our ispz dns doesnt work properly. so i thought of setting up my own dns.

I was able to setup the dns on the private

network(192.168.1.1-first ethernet card) successfully but was not able to setup the dns properly on the public ip(another ethernet card). What wud be reverse lookup zone file in the case of public ip?(I was given by my isp only 8 pulic ipz ). Anticipating ur reply

[Kapil] This can only be done by subnet assignment. The ISP needs to create entries for your in their reverse zone file which point to your server. Look for CIDR or Classless Internet Domain Routing on google.
I think this is only applicable if bot hyou and the ISP use "bind". If you use DJBernstein's domain name server programs then things are different.
To repeat, this is only possible through co-operation with the entity (presumably your ISP) who has been authorised to provide reverse lookup to the entire Class C net to which your eight addresses belong.
As an example you can get for our domain:
$ host -t PTR 81.209.199.203.in-addr.arpa.
81.209.199.203.in-addr.arpa     CNAME   81.imsc.209.199.203.in-addr.arpa
81.imsc.209.199.203.in-addr.arpa        PTR     proxy.imsc.res.in

$ host -t NS 209.199.203.in-addr.arpa.
209.199.203.in-addr.arpa        NS      md3.vsnl.net.in
209.199.203.in-addr.arpa        NS      md2.vsnl.net.in

$ host -t NS imsc.209.199.203.in-addr.arpa.
imsc.209.199.203.in-addr.arpa   NS      ns1.imsc.res.in
imsc.209.199.203.in-addr.arpa   NS      ns2.imsc.res.in


Home LAN setup question

Sat, 09 Aug 2003 00:50:59 -0600
Faber Fedor (xgen from softhome.net)
Question by xgen

Hi there dude,

i have a general question regarding Home LAN setup on Linux

I have 2 PCs to be networked and sharing a connection. Do i need 2 network cards, 1 leading out to the outside world, another leading to my internal LAN? Is this setup common? Will it help in LAN security?

Thanks a mil

-Xgen

[Faber] These days, the Dude has been upgraded to Dudes and a Dudette. We're now known as The Answer Gang. The Answer Guy is still around , but he's got help these days.
Generally speaking, if you're using one of the Linux boxes as a router/firewall. If you're using, say a LInksys router/firewall, then no, you don't need two NICS in one Linux box.
Check out www.tldp.org for various documents on setting up networks and routers using Linux.


Anyone for winRAID?

Mon Sep 29 16:39:55 BST 2003
Hugo Mills ([email protected])

[hugo] I seem to be getting a small but steady flow of people
[hugo] asking me about the Adaptec Serial ATA RAID card and Linux.

[editorgal] hrmmmm
[editorgal] is there a distro being buggy about it?
[hugo] No, it just doesn't work right.
[editorgal] a pal tells me that aacraid code is busted in some of the gentoo kernel kits but is safe to use in their vanilla source kit
[hugo] It's not AAC at all.
[hugo] It's the AAR-1210SA.

[editorgal] is theer a secret handshake for it or is it just Being Evil right now?
[hugo] It's based on the SiI3112 chip, but Adaptec mangled it.
[hugo] You can write stuff to the disk drive and read it back again,

[editorgal] since I'm working on the tips section anyway.... :D
[hugo] but every disk access just causes a DMA timeout,
[editorgal] ouch
[hugo] which takes anything up to about 45 seconds to clear.
[editorgal] urgh
[hugo] So it's basically worthless.
[editorgal] that's millenia in computer time
[hugo] I wrote a patch to the kernel to recognise the PCI ID of the card,
[hugo] which works (I've got code in the kernel! Woohoo!)
[hugo] but it has the unfortunate effect above.

[editorgal] this a private patch or submitted?
[hugo] Submitted.
[hugo] It went in 2.4.21-ac1, and 2.4.22 I think.
[hugo] (Or was it 2.4.20-ac1 and 2.4.21? I can't remember)

[editorgal] ok, it wasn't handled at all, but you provided code which tries to handle it, only DMA is still wicked?
[hugo] Yes, that's about the size of it.
[hugo] Adaptec provide Linux drivers for the card,
[hugo] but they're only for certain stock Red Hat kernel packages.
[hugo] and they're binary-only.

* Editorgal avoids ranting about RH's concept of "stock"
[hugo] I've tried asking moderately noisily on LKML about the problems with this card,
[hugo] but nobody seems to be able to give me any information at all.
[hugo] All I've achieved is having several email threads archived where I appear to be
[hugo] the font of all knowledge about getting the 1210SA working under Linux.

[tonytiger] heh
[hugo] As soon as this month's pay cheque clears, I'm buying an SIIG card instead,
[hugo] and selling the Adaptec on eBay.

[editorgal] what's the info you want to get, I could post a wanted note for you in LG?
[hugo] Why isn't it working, and how do you fix it? :)
[hugo] TBH, I can't be arsed at this point.

[editorgal] it isn't working because adaptec's too lame to cough up a source module instead of a binary for RH's heavily mangled kernels.
[hugo] Well, yes, that's about the size of it. :)
* Editorgal captures this thread for the 2c Tips column
[hugo] Also, I think they want to hide the fact that the RAID (0, 1, 0+1) part of the card is effectively done in software.
[hugo] (Or so it is rumoured)

That "rumor" is per a Linux Kernel Mailing List (LKML) post by Sam Flory. It's probably mirrored lots of places, but here's a pointer:
http://marc.theaimsgroup.com/?l=linux-kernel&m=105484662322837&w=2
In the rest of the thread, Hugo notes that he's only looking for basic drive-access features, but above, he notes that he hasn't managed to code them up himself, and is giving up (his main contribution having been patching the PCI ID recognition). For fairness sake they have binary modules for a few other stock boxed-linux kernels but as soon as you stray off the beaten path - and possibly as soon as you upgrade even if staying within the distro's offered kernels - someone else will have to figure out why the SiI3112 chip hates Seagate SATA drives.

Meanwhile, if you're the sort who bristles about binary-only drivers going into your otherwise trustable kernel, look out for VIA's "support" for the MPEG2 hardware on their EPIA boards, too. -- Heather


up2date SSL error

Fri, 26 Sep 2003 10:24:42 -0400
Greg Anderson (Greg from FutureRealms.com)

In Redhat 7.1 thru 9 running up2date fails with this message:

SSL.Error: [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]

Then it tells you your system's clock may be so wrong it is causing the problem. What is really going on is the certificate and the up2date program is out of date. You need to download the lateest up2date from Redhat.

...............

"The certificate used by up2date and rhn_register to communicate with the Red Hat Network reached its end of life on August 28th 2003. Users attempting to connect to Red Hat Network will see SSL connection or certificate verification failures."

"New versions of the up2date and rhn_register clients are now available which are required for continued access to Red Hat Network."

...............

RHSA-2003:267 for Red Hat Linux: https://rhn.redhat.com/errata/RHSA-2003-267.html

This solved it for me. -- Greg Anderson

[JimD] Might be good to try an rpm --rebuilddb command, too. Just in case rpm segfaults on a corrupted dbm/database.


Snapshot fo current window or desktop

24 Sep 2003 12:30:54 -0500
Dan Wilder, Thomas Adam, Ashwin N (the LG Answer Gang)
Question by Wes Hegge

How do I get a snapshot (preferably in gif or jpg format) of the current window in KDE? What I am looking for is the equivalent to MS's Alt-PrtScn then paste to paintbrush and then save to a file.

TIA -- Wes Hegge

[Dan] ksnapshot

Thanks,

I Guess, I am blind as a bat. Right in the "Graphics" submenu is "Screen Capture Program" (aka ksnapshot).

Thanks for the help.

[Thomas] I haven't run KDE for years (I'm an FVWM fan), but I do know that "ImageMagick" offers the "import" utility which does the same thing, as does "xwd".
[Ashwin N] Can be done using Gimp. From the menu choose,
File -> Acquire -> Screenshot
[Heather] For the ImageMagick method I keep a directory named prn and if I like what I captured I rename this image. This happens to also be where I keep documents I only have around to be printed. Here's my bash alias I've been using for awhile:
# capture an X display
# with thanks to the lazy folks at
# http://www.troubleshooters.com/linux/scrshot.htm
# who were kind enough to document how they do 'em.
screenshot ()
{
   import -window root ~/prn/screendump.png
}
Note that the man page for import is actually readable - you can take shots of specific things, not just the whole screen.
There's also an enlightenment epplet that will make screenshots.


Errors while using rpm extension..... Cygwin

Sun, 28 Sep 2003 17:34:49 +0530
Ashwin N (yodha8 from yahoo.co.uk)
Question by Atiya Azim

Actually i am not using red hat, although it is insalled on my pc. Rather i am using cygwin (http://cygwin.com which is linus-like environment for windows platform - my OS is Windows 2000) for these rpms. It is working fine with .tar and .gz files..but giving problems with all the files of rpm format.

[Ashwin] That is the problem! I have used Cygwin before, but I didn't know that they had even ported over RPM! In any case, if your need is just for a Java SDK, you can download the one available for Windows from the Sun website. Install it and the java, javac and other commandline tools will be available to you under Cygwin. Just remember to update the PATH variable with the directory where the Java binaries are located.

Thanks for the help.........it is working this way.......

[Ashwin] For other Linux utilities that are not available from the Cygwin mirrors, you will have the best chance with the .tar.gz or .tar.bz2 files of those applications.


Cool tool of the week: nntp//rss

Mon, 15 Sep 2003 11:17:32 -0600
Jason Creighton (The LG Answer Gang)

Hi,

nntp//rss (http://www.methodize.org/nntprss) is a RSS to NNTP so you can read RSS feeds in your favorite newsreaders. Very nice.


mult headeddsplay

Sun, 14 Sep 2003 20:08:16 +0100
Neil Youngman (n.youngman from ntlworld.com)
Question by Affan Ahmed

Hello,

I have a NVIDA GForce 2 Go 100 card that supports multiheaded display easily in Windows. Now i want to do the same in Linux. I have RedHat 8.0. What do you suggest that I do?

[Neil] I suggest using Google http://www.google.com/search?q=nvidia+linux+%22multiple+display%22&sourceid=opera&num=0&ie=utf-8&oe=utf-8
It throws up potentially useful stuff like
http://lists.suse.com/archive/suse-linux-e/2001-Jun/att-3012/01-TWINVIEW_README
I suppose you could try the Gentoo Unreal Tournament demo CD, which won't replace anything on your computer. At the very least it's tuned up for NVidia. Find it by typing "unreal" into the search gadget at Freshmeat.Net. -- Heather

 


Copyright © 2003, . Copying license http://www.linuxgazette.net/copying.html
Published in Issue 95 of Linux Gazette, October 2003

<< Prev  |  TOC  |  Front Page  |  Talkback  |  FAQ  |  Next >>